Access Execution In Custom Connector Implementation

Hi,

I would like to know if there is anyway one would be able to access the ‘execution’ when you implement/create your own connector? I would like to carry over a traceId between http connector calls.

My current thinking is to place the traceId in an execution variable and send it along all http requests but currently it doesn’t seem like there is a reference anywhere to the execution when you implement your own connector.

Perhaps someone here has done something like this or have another idea on where to store the traceId during execution of a process or inject the execution somehow into a connector?

Regards

Hi,
You can access any variables set in the process through the execution object in a Java delegate. You can also access the execution object in scripts.

Joe

Thanks, it seems it is best to write a custom delegate for our needs.