Versions Compared

Key

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

...

The normal behaviour is that Job Scheduler handles exit codes <> 0 as an error. In dependence of the error handling, the order go goes to error state or will be suspended/setbacked. You can change this behaviour by implementing a post processing. In this sample job chain, the post processing is configured as a cdata for the reason of better readability. You can also provide a file with the post processing script to get an general error handling by including the file.

Here are two approaches. The : the first handles each exit code and the second is more generic. You switch between the samples by changing the exit code of the first step. When exit code is 0, the more generic sample will be executed. To see this in your environment, you can download the configuration files and put them into any folder in config/live.

...