Skip to Content
author's profile photo Former Member
Former Member

Job chain step maximum restart <#> on error triggering additional step with skipped status

Hi All,

We have business requirement to restart the job step automatically if it errors 1's, So we have configured the Job chain with Final Status Handlers on Error "Restart Step" Action and also set the maximum restart to 2 (includes initial run).

Auto restart on error of step is working fine, but its triggering total 3 runs of that same step with 1. Error, 2. Error and 3. Skipped status.

Ex. Job chain Z_Test_Chain has 3 steps and if step 2 error's then we need this same step to be auto restarted only 1 time.


Step 1-->Step 2-->Step3

Out put status after run.

Z_Test_Chain -- Error

Step 1 --- Completed

Step 2 --- Error

Step 2 --- Error

Step 2 --- Skipped

Step 3 --- Chained

Step 2 is getting restarted as we expected but every time we see additional step 2 with skipped status along with the auto restart.

let me know if any one experienced similar issue and why CPS triggering that additional step which is not required. Let me know if you need additional details on this issue.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 14, 2015 at 07:28 AM


    This is as expected. The Skipped step can help you decide what you want to do next using the Otherwise final status handler.

    Regards Gerben

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.