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
hmm, that is strange. which version of Activiti are you using? Do you find an entry in the JOBS table after the delete? Can you provide a unit test to reproduce this issue?
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.