Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Interim save

...

  • JobChain0 has 6 shell jobs 1, 2 ,3, 4, 5 and 6 and JobChain1 has 2 shell jobs.
  • JobChain1 should only start if Job 3 in JobChain0 ends successfully.

 

Processing

...

return codes

The configuration of the return codes takes place in two stages:

  • The standard progression through the job chains:
    • When any of the jobs in either chain ends with an return code = 0, i.e. successfully, it will proceed to the job defined by the next_state
    • When any of the jobs ends with an return code other than 0, i.e. in error, then processing of the order will be stopped and the order will proceed to the error_state.
  • Generation of the order to start JobChain1:
    • If Job 3 ends with an return code = 0 then the Order 1 for JobChain1 will be generated by JobScheduler and started. This is configured using the on_return_codes attrbute.

Configuring

...

return codes

This is done in the Nodes tab of the JobScheduler Object Editor JOE for JobChain0 as shown in Screenshot 1 below.
A more detailed description of how to use JOE to configure a job chain can be found in JobScheduler Tutorial 2 - Editing a Simple Job with JOE

...