How do I get the Process Instance ID of the current process using Groovy?
I’m looking for the equivalent of “execution.activityId” but I need the process ID.
I DO NOT want to use a Java as that creates a deployment and management burden.
Where is a list of all the “environment” variables available to a scirpt within a process? The only two I know of are eventName and activityId. Surely there must be more.
As always, thank you for the complete response. It worked.
I did see that particular method in Eclipse’s content assist, but I think I didn’t use it correctly or something.
What irks me is the obtuse manner in which key aspects of Camunda are documented. They assume far too much about the people trying to use it. I love the product and Camunda itself is great to work with, but this is what comes when you have a company full of coders. They need less brilliant people.
Please ask this in a separate forum thread as it seems unrelated to the original topic. Also, please give more context as it is unclear to me what your problem is (e.g. include some code in your question).