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

Problem

Could you help me with post processing? I would like to emulate an Autosys max_exit_success. For example, a max_exit_success=10 means that 0 is SUCCESS, more than 10 is FAILURE and we consider exit codes between 1 and 9 as a warning.

For a job_chain this would mean:

  • 0 : next_state with exit 0
  • 1-9 : next_state with a real exit
  • >10 : error_state with a real exit

I tried to change the error_state with a next_state but it dit this did not work. Could you give me a tip?

...