Versions Compared

Key

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

...

  • A number of jobs are executed in sequence.
  • If one or more jobs fail with exit return code 1 then the jobs should be repeated for a number of times. For any other non-zero exit return codes the order should be put to a failed state and should wait for user intervention, for example to resume or to cancel the failed order.
  • A related scenario is available from JS7 - How to retry a job in case of specific exit codes.

...

  • This workflow implements
    • an outer Retry Block to repeat execution,
    • an inner Try / Catch Block to handle specific exit return codes of the job,
    • an If Instruction to decide about the handling of specific return codes.

...

These implications might reflect what some users need. For an alternative solution that does not fail the offending job and that does not create notifications see JS7 - How to retry a job in case of specific exit codes.

...