Close open subprocess upon parent process closed

Hi,

Is there a way to close those open subprocesses when parent process is closed?

Regards,
Lim

Hi @GiapWeng,

Do you mean you would like to cancel the subprocesses once the parent is closed?

Regards,
Eddy.

Hi Eddy,

Yes. Either cancel or complete the subprocesses is fine.

Regards,
Lim

@GiapWeng,

Easiest thing to do is to cancel the subprocess. Completing it will be complicated unless your subprocess has a simple workflow.

You can use the CANCELREQUEST application just before completing the parent process (before an endpoint)
You simply need to pass the subprocess instance ID to the application and it will cancel the indicated subprocess.

If you would like to complete it, you can use the COMPLETEACTION application just before completing the parent process.

Regards,
Eddy.

Hi @eddy.daouk,
We experienced the following issue:
If one of launched sub-processed is cancelled, it automatically cancels all other open sub-processes. How can we prevent this to happen?

Thank you,
Marina

Hi @marinam,

All actions (or subprocesses) that have a potential to be cancelled need to have a “Action cancellation exception” transtition. This is because you need to guide the workflow in case the action is cancelled. If there is no transition indicating where the workflow should after it is cancelled, the system will cancel the entire request including the other subprocesses.

ef40d3b7564c71c171853cdd39cdf4d44b3ed6ba_2_690x497