I want do something when the whole process ending (every task finished)
In current,I have a listener in the end event (ProcessEndListener implements ExecutionListener), I expect that when i call TaskService.completeWithVariablesInReturn() in the last UserTask Node and when the UserTask business logic finished,and then the ProcessEndListener executed (the notify method)!
But,actually,the notify method executed and finished while the last UserTask complete() logic is not ending!!!
I have tried in 7.19 and 7.20, but result is the same:End Event end first before the last UserTask