Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

Setback intervals based on exit codes

If you want to set different setback intervals depending on the exit code, you can use the internal API by defining a post-processing routine after the task.

...

Code Block
 <job_chain orders_recoverable="yes"
           visible="yes"
           name="job_chain1">
    <job_chain_node state="100"
                    job="job1"
                    next_state="success"
                    error_state="error"
                    on_error="setback"/>
    <job_chain_node state="success"/>
    <job_chain_node state="error"/>
 </job_chain>

See also