AnsweredAssumed Answered

Different Execution Id

Question asked by on Oct 10, 2017
Latest reply on Oct 31, 2017 by

Hi All,


I'm trying to get current execution id of a process through custom scripting in map shape.

This is my script.


import java.util.Properties;
import com.boomi.execution.ExecutionManager;
import com.boomi.execution.ExecutionUtil;

//ExecutionId= ExecutionManager.getCurrent().getId();
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