cancel
Showing results for 
Search instead for 
Did you mean: 

Job chain Restart from Step 1 if any job in the sub chain steps fails in Redwood

Gabie
Explorer
0 Kudos

Hello Experts,

Could you please let me know if there is any way we can make the job chain to restart from step 1 if any of the job in the sub chain steps fails in Redwood.

Job chain A will have 5 steps where in there is a sub chain in step 4 and if any of the job fails in that sub chain then the parent Job chain A should restart from step 1.

Thanks in Advance

Gabie

View Entire Topic
gmblom
Active Contributor
0 Kudos

Hello Gabie,

You can just make your sub chain go to error when a step fails, and setup a final status handler on step 4 of your main chain to goto step 1 on error.


Regards Gerben

Gabie
Explorer
0 Kudos

Hello Gerben,

Thanks for the reply. Just a small correction in the question is instead of any of the job fails in the subchain what if it fails only in the specific job in step 2 in the sub chain then only it should restart from step 1 of parent job chain and not to restart if it fails in any of the step other than step 2 in the subchain.

Thanks

Gabie