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.
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.