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

How it works flag NOT IF FAILED from process type Check if Previous Run of the Chain is Still Active

Oscar_Alberto
Participant
0 Kudos
440

I'm trying to understand how the process typ Check if Previous Run of the Chain is Still Active works.

I Have understand how the options Previous run must be finished since and Wait for the previous run to finish for works, but I haven't understand how to use/work the flag Not if failed.  According to SAP documentation Not if failed,  you can stipulate that previous runs that failed count as inactive (option 1) immediately. 

I understand option 1 is inactive, option 2 active and option 3 failed

Process02.pngMy process event is configure as follows

Process01.png

Intentionally, the last run of the process chain end it in red, so I assumed that the next run, with the flag Not if failed set, will take option 1 but it doesn't, it keeps taking option 3.  Any clues?

Process03.png

 

 

 

Thank you all, Oscar

 

Accepted Solutions (1)

Accepted Solutions (1)

john_hawk
Active Contributor

Hi Oscar,

You should the the color of the arrow - Green equals Success, Read equals Error

The Active and Failed conditions should be applied to the Error path (red).

- if Active , you might want to put in a wait variant , retry , "Still running" e-mail message.

- if Failed, send "Previous run failed" e-mail message.

The Inactive condition should be applied to the Success path (green) - process continues

Hope this helps, John Hawk

 

Answers (0)