AnsweredAssumed Answered

Timer triggers entity deleted event

Question asked by mortalcombat on Jan 19, 2017
Latest reply on Feb 1, 2017 by mortalcombat

Hi all,


I am adopting activiti version 5.22.0 and I've noticed the following behavior: when a timer is started an entity deleted event is triggered with no delete reason specified. I'm attaching a unit test which illustrates this behavior. I have added an EventListener, which is notified when an "ENTITY_DELETED" event occurs and it checks whether the deleteReason is null. The same event is also triggered for the endTask. Am I doing something wrong, or is this the expected behavior ?


Kind regards,