Versions Compared

Key

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

Table of Contents

Introduction

The Finish Instruction makes an order leave a workflow or branch of the JS7 - Fork-Join Instruction. The order is considered to be completed and will assume a successful or unsuccessful outcome in the JS7 - Order History, for details about order states see JS7 - Order State Transitions.

...

  • The workflow makes use of an If Instruction to check a previous job's return value. See JS7 - If Instruction for details of how to add expressions to If Instructions.
  • If the If Instruction evaluates to true then the left-hand branch with the Finish Instruction is executed that which is configured to force a successful outcome.
  • The order can is optionally be assigned a message, for example, specifying the reason for finishing the order.
  • Display feature availability
    StartingFromRelease2.5.4

Finish Instruction with unsuccessful Outcome

...