AnsweredAssumed Answered

Accessing Process Instance ID inside a ScriptTask

Question asked by gavnunns on Feb 25, 2014
Latest reply on Feb 25, 2014 by gavnunns
Hi,

I need to access the process instance id from a groovy script task.

According to the docs the script task has access to all process variables, however I'm not clear on if this includes the process instance id or exactly what name I would use to refernce it - http://activiti.org/userguide/index.html#bpmnScriptTask

Any pointers or simple examples would be greatly appreciated.

Thanks

Gavin

Outcomes