cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Process chain Instance conditional stop

former_member302630
Participant
0 Likes
1,951

I have a process chain that runs hourly. The process chain is failing because of lock. The previous instance of the process chain is still running and DTP block fails.

I checked in Process chain, there is a process type "Previous run active?"

Under Successful I see 3 options

Inactive , Active , Failed.

How do I stop/terminate the new process chain run from immediately ? I want the previous PC run to keep going while the current PC run should terminate immediately.

OR

atleast new PC run should wait till the previously process chain has completed successful and then proceed.

View Entire Topic
RaymondGiuseppi
Active Contributor

This must be the first step of the PC, continue execution only when event 'inactive' is triggered by the process. You can trigger a message when event 'failed' or 'active' are triggered.

NB: You can add a (small) delay for the process to wait for end of previous run before triggering 'active' event.