Versions Compared

Key

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

...

The Break Instruction can be used in a JS7 - Cycle Instruction to terminate the cycle and to make an order leave the cycle.

Display feature availability
StartingFromRelease2.5.3

Workflow Instruction: Break

...

  • an initial job that creates a workflow variable index with the initial value 0,
  • a cycle to loop incrementation of the index workflow variable:
    • a job inside the cycle that increments the index workflow variable,
    • JS7 - If Instruction that check checks if the value of the index workflow variable exceeds a maximum value,
    • a Break Instruction to make the order leave the workflow in case that the index workflow variable exceeds the maximum value.

...