Retrieve info about current execution

Document created by rich_patterson Employee on Oct 28, 2014Last modified by chris_stevens on May 16, 2016
Version 4Show Document
  • View in full screen mode
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:

ExecutionManager.getCurrent().getExecutionId()

** 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

Attachments

    Outcomes