Hello there,
Let say, I have several ExecutionListeners (all event=“end”) attached to the same Task.
Is the execution sequence guaranteed in the oder they are appeared in BMPN XML?
<userTask id="secondTask">
<extensionElements>
<camunda:executionListener expression="${myPojo.myMethod1(execution.eventName)}" event="end" />
<camunda:executionListener expression="${myPojo.myMethod2(execution.eventName)}" event="end" />
</extensionElements>
</userTask>
Since no explicit sign of the order is used, I would assume this is not guaranteed.
What would be the correct way to ensure that myMethod1() is called before myMethod2()?