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.