01-19-2017 12:04 PM
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,
Mihail
01-20-2017 11:50 AM
Hi Niklas,
I've raised a bug here:
02-01-2017 10:05 AM
Hi Niklas,
Could there a be a better workaround for this ? I mean, all those casts to get the deleteReason are not very pleasant to look at. Is it possible to get the entity in a more elegant way ?
Kind regards,
Mihail
Explore our Alfresco products with the links below. Use labels to filter content by product module.