Hi,
I tried to cancel my task which was running currently.(I have a task with a sleep time in it. And when it was running I tried to cancel it) . I use the RunTimeService.deleteProcessInstance.
I could see the activiti job entries all deleted and my workflow is cancelled.
But,after the specified sleep time is completed, I could see activiti sending my listener an end event . I am totally puzzled . Could someone help as to how the end event is received even though all the job entries are deleted and my workflow is cancelled?
Thanks