Versions Compared

Key

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

...

  • Finishes an order in a workflow. The order is considered being completed and is assigned the FINISHED state.
  • FINISHED orders remain with their workflow and cannot transition from this state. They require user intervention to make them leave the workflow.
  • Users have to cancel FINISHED orders, see JS7 - Order State Transitions

Purpose

  • Fails an order in a workflow. The order halts and is assigned the FAILED state.
  • FAILED orders remain with their workflow position and require user intervention to transition from this state.
  • Users can resume, suspend and cancel FAILED orders, see JS7 - Order State Transitions

Workflow Instruction: Finish

...

  • The workflow makes use of an If Instruction to check a previous job's return values. See JS7 - If Instruction for details how to add expressions to If ConditionsInstructions.
  • If the If Instruction evaluates to true then the Finish Instruction is executed. The order is then assigned the FINISHED state.
  • When finishing an order then a message and a return code optionally can be added that specify the reason for finishing the order.

...