I'm trying to get current execution id of a process through custom scripting in map shape.
This is my script.
def executionId = ExecutionManager.getCurrent().getExecutionId();
ExecutionId = executionId;
ExecutionUtil.setDynamicProcessProperty("BOOMI_EXECUTION_ID", ExecutionId, false);
I have deployed this process in atom cloud. When I execute the process through postman, I observed that the execution id in process reporting>>process>>Actions menu >>"Extended Execution Information" is different from the execution id that I'm getting from my custom script.
Why is this happening? Any answer is appreciated.
Execution id from script : execution-51543241-5679-4b46-b41d-0ef2346907f2-2017.10.10
Execution id from Actions menu : execution-0d64043a-027d-4205-8da1-57459ffaaeef-2017.10.10