cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong event firing when a task is completed in 5.15.1

ganeshr
Champ in-the-making
Champ in-the-making
Two events are getting fired when a task is completed using FormService.submitTaskFormData, one is 'complete' and the other is 'delete'.
I suppose, It should trigger only one event 'complete' but with new version of activiti 5.15, another event 'delete' is also getting fired immediately.
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
Sure, but what's the problem? If you only listen to one, that's fine, right?

ganeshr
Champ in-the-making
Champ in-the-making
For now I'm listening to only Complete. But in case, If I'm listening to all events, then thinking it might cause a problem, as we dont know if we are deleting a task or just closing a task.

jbarrez
Star Contributor
Star Contributor
ok, i see. Note that deleting a task is not something you do often in processes.