Close open subprocess upon parent process closed


#1

Hi,

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

Regards,
Lim


#2

Hi @GiapWeng,

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

Regards,
Eddy.


#3

Hi Eddy,

Yes. Either cancel or complete the subprocesses is fine.

Regards,
Lim


#4

@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.