Versions Compared

Key

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

...

  • The Finish Instruction makes an order leave a workflow or branch of the JS7 - Fork-Join Instruction. The order is considered being completed and is assigned the FINISHED state.will assume a successful or unsuccessful outcome..
  • By default finished FINISHED orders leave their workflow or branch with a successful outcome. They do not require user intervention to leave the workflowUsers can specify an unsuccessful outcome being assigned the order to make such orders appear in the JS7 - Order History with a failed history status.
  • For details see JS7 - Order State Transitions.

...

Download Workflow Example (.json upload)pdwFinish.json

Finish Instruction with successful Outcome


Explanation:

  • The workflow makes use of an If Instruction to check a previous job's return values. See JS7 - If Instruction for details of how to add expressions to If Instructions.
  • If the If Instruction evaluates to true then the the left branch with the Finish Instruction is executed.
  • The order is then assigned the FINISHED state.order can optionally be assigned a message that that for example specifies the reason for finishing the order.

Finish Instruction with unsuccessful Outcome

Image Added


Explanation:

  • If the If Instruction evaluates to false then the the right branch with the Finish Instruction is executed.
  • The checkbox for Unsuccessful outcome is selected.
  • The order can optionally be assigned a message that that for example specifies When finishing an order then a message and a return code that specify the reason for finishing the order can be optionally added..
  • Display feature availability
    StartingFromRelease2.5.0