Versions Compared

Key

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

...

  • If error handling is applied inside a Lock Instruction, for example by use of a Try/Catch Instruction or Retry Instruction then a temporarily failed order can continue.
  • If no error handling is applied inside a Lock Instruction then the order is moved to the begin of the outmost Lock Instruction and is put to the FAILED state to prevent the order form permanently blocking Resource Locks.


Explanation:

  • The workflow implements different ways of error handling per branch of a JS7 - Fork-Join Instruction
    • The left branch implements the JS7 - Try-Catch Instruction to handle errors for a job in the Catch block.
    • The middle branch implements a JS7 - Retry Instruction that automatically repeats execution of included jobs.
    • The right branch implements no error handling.
  • The workflow example includes jobs in each branch that will permanently fail.
    • Child orders in the left branch recover from failure and are continued.
    • Child orders in the middle branch are repeated a number of times, are finally moved to the begin of the Lock Instruction and are put to the FAILED state.
    • Child orders in the right branch are immediately moved to the begin of the Lock Instruction and are put to the FAILED state.

...