AnsweredAssumed Answered

Deleting process instances of async tasks

Question asked by moskalap on Apr 25, 2018
Latest reply on Apr 26, 2018 by cjose

I have a process, which contains a asynchronous serviceTask which executes a a task defined in Java Class.

I wanted to "kill" proces instance. I have used RuntimeService.deleteProcessInstance, but the process didn't stop. The entry of this process has gone from ACT_RU_EXECUTION, but it was still being executed by activiti-engine.

How can I "kill" process instance contains asynchronous task by knowing its procesInstanceId?

 

Thanks in advance for reply

Outcomes