AnsweredAssumed Answered

Getting the task count

Question asked by jorell on Feb 14, 2014
Latest reply on Feb 18, 2014 by jorell
I need to be able to uniquely identify every INSTANCE of a node in the life of my process instance. So if my process loops back and performs a task 3 times, I need to know in my delegate whether this current execution is the 1st, 2nd or 3rd instance for this particular node.
I thought I could uniquely identify every instance using the combination of executionId + task Id, since multiInstance loops would create new execution id's. But then realized that an exclusive gateway could also loop back.
Is there anyway to get this info, is it available in the db?

Or if there is any other way to uniquely identify an instance of a task please let me know.