-
1. Re: Abort Parent Process and child sub process
jschim Nov 3, 2011 10:44 AM (in response to amin-mc)Don't know about BPMN2 but i know that in drools flow there is a attribute 'independent' as part of a subprocess node which should be set to false in order to cancel the sub-process on termination of the parent .
-
2. Re: Abort Parent Process and child sub process
swiderski.maciej Nov 4, 2011 6:18 AM (in response to amin-mc)As Joao mentioned, independent parameter controls sub process cancellation and it is set by default to true meaning that it will not be aborted when parent process is canceled.
You can control this parameter for reusable processes (those executed by call activity) but not for embedded sub processes. You can set independent attribute on call activity.
In my opinion embedded sub processes should always be bound to the parent process life cycle.
-
3. Re: Abort Parent Process and child sub process
sridhar532 Feb 14, 2012 10:46 AM (in response to swiderski.maciej)Hi ,
Can you let me know the API or steps that i need to Abort / Terminate an Active ProcessInstance in jbpm 5.2.
Please share me the sample code if possible. Thanks
-
4. Re: Abort Parent Process and child sub process
lakshmi.sampath Mar 28, 2012 12:28 PM (in response to amin-mc)Thanks Joao and Maciej. That made my day.
I was troubleshooting that issue, and changing the flag immediately fixed my problem where parent process is now calling abort on child dependent work item handlers which were waiting.
thanks
lakshmi.