Versions Compared

Key

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

...

The JS7 - Fork / Join Instruction is used to execute jobs in parallel within a workflow. The Fork Instructionis used to create a number of parallel Branches. These may include further instructions and jobs. When an order is executed in a workflow it spawns child orders for the branches and waits for their completion. It is only after completion of the child orders that the parent order will continue with the Join Instruction..

Workflow

jdFork contains a simple example for parallel execution with two branches branch1 and branch2. When the order arrives with the Fork Instruction then its child orders pass both branches in parallel. The parent order then continues execution of the workflow after arrival of the child orders with the Join Instruction.

...