Versions Compared

Key

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

Table of Contents

Purpose

Introduction

  • The Fork Instruction is offered Instructions to fork and to join orders to enable parallel processing in a workflow.
  • The Fork Instruction allows the creation of to create a number of parallel branches that process any further instructions and jobs.
    • The max. number of parallel branches is limited to 15.
    • Branches can include any number of instructions and jobs.
  • When an order enters a Fork Instruction then a child order is created for each branch . Each child order will pass the nodes in its branch independently of the other parallel child orders.
  • While child orders are running, the parent order waits for its child orders to be completed, i.e. to arrive at the Join Instruction. The parent order therefore is assigned the WAITING state, see JS7 - Order State Transitions.
    • If a job in a child order's branch fails then the child order will be assigned a FAILED state. Such child orders require user intervention to resume, to suspend or to cancel child orders.
    • Child orders cannot be cancelled as they are required to pass the Join Instruction. Should child orders not be intended to pass the remaining instructions in a branch then a user can suspend the child order and resume it from the Join Instruction.
    • Consider that child orders can take the role of parent orders in nested Fork Instructions.

Feature Video

This video explains how to create parallel jobs in a workflow that can be nested and joined.

...