To retrieve information about the current process from within that process itself, you can write a groovy script and use the ExecutionUtil functions:
Here is the function which returns the current executionId:
** Note, This information may not be available right when the execution starts. You may need a delay/sleep before these Ids are available to a process.
Finally, with the atomId or executionId, you can call the AtomSphere API to retrieve additional information:
4 people found this helpful