While migrating from Activiti to Flowable, we have observed the following behavior difference:
In an event listener we handle the
PROCESS_COMPLETED event. There we are interested in the end event which caused the process instance completion.
We access the process instance by
(ProcessInstance) entityEvent.getEntity(). Previously, the
getActivityId() function of the process instance delivered the id of the event of interest. Now, we get
In addition to that, the following queries also deliver
Is it a bug or expected behavior? What would be a way for us to access the end event id of interest?