Versions Compared

Key

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

...

JS7 allows any JS7 - Workflow Instructions to be skipped and stopped on-the-fly.

Display feature availability
StartingFromRelease2.7.0

Status Operations on Instructions

...

  • Skip: The instruction will not be executed, instead an order continues execution with the next instruction after the skipped instruction.
  • Stop: The order will be put to the suspended state if it meets a stopped instruction. Users can resume suspended orders.
    • An order can be resumed from the same position, from a previous or later position in the workflow, depending on the workflow design. For a stopped instruction, resuming the order will force execution of the instruction. When resuming orders, users are free to chose the same or a different instruction from which the order will be resumed.
    • Orders are not automatically resumed when an instruction is unstopped. Users can find the category of suspended orders in the Dashboard view. This displays a list of related orders and workflows. Bulk operations can be carried out, allowing a larger number of orders to be resumed at the same time.
  • The Workflows view provides the Search option to look up workflows that include skipped or stopped instructions.

Skipping Instructions

Display feature availability
StartingFromRelease2.7.0

An instruction's action menu includes the Skip operation:

  • The Skip operation is offered for any instructions that are assigned a label.
  • A skipped instruction is not considered. This includes any nested instruction in a block instruction.
  • The operation to skip an instruction applies to any available version of the workflow that holds the skipped instruction.

Image Added


The status of skipped instructions is displayed like this:

Image Added


The skipping of instructions can be reverted by using the Unskip operation, which is available from the instruction's action menu:

Image Added

Stopping Instructions

The Stop operation is available from the instruction's action menu:

  • A stopped instruction suspends any incoming order to create a breakpoint in the workflow.
    • Users can resume a suspended order from the same position or other position in the workflow.
    • Resuming from the same position forces the instruction to be processed.
  • The operation to stop an instruction applies to the version of the workflow for which the Stop operation is performed.

Image Added


The status of stopped instructions is displayed like this:

Image Added


The Stop operation can be reverted by using the Unstop operation, which is available from the instruction's action menu:

Image Added

Precedence of Status Operations on Workflows and Instructions

Instructions in a workflow can be stopped and skipped at the same time. In addition the workflow can be suspended.

The above explanations suggest the following precedence of operations in descending order:

  • An instruction being stopped is assigned the highest precedence.
    • Should a workflow be suspended then this includes that orders can complete the current instruction in the workflow.
    • If the current instruction in a workflow is stopped then the order will be suspended before the workflow is suspended.
  • If a workflow is suspended then orders will be frozen once they have completed processing of the current instruction.
  • If the order specifying end position has been added then the order will leave the workflow once the end position is reached.
  • A skipped instruction has the lowest precedence compared to stopped instructions and suspended workflows.

Further Resources