While executing workflow instance, one task may be executed several times (in loop).
There is a column SUBWORKTASK_ITERNUM in WSUBWORKTASK, we can see number of loop iteration.
Now we need to use this iteration number in the event script attached to our workflow task.
Could you please advise the best way to get iteration number in event script?