Details
-
Feature
-
Status: Released (View Workflow)
-
High
-
Resolution: Fixed
-
2.0.0
-
None
Description
Current Situation
- With JS7 a user can add an order to a workflow that executes all the nodes of the workflow and then completes execution.
- It is not possible to set the start and/or the end node for the order, for example to start the order from a later node and to leave the workflow before the last node.
Desired Behavior
- The JS7 should provide two options to set the start node and end node of order execution in a workflow.
- The order should start from the indicated start node and should leave the workflow at the indicated end node.
- The start node and end node can be the same, however, the end node cannot be a node that occurs before the start node in the workflow instructions.
- A start node can be specified with or without specification of an end node and vice versa.
- The start node should be a node in the first level of workflow instructions, i.e. it is not allowed to start an order from a deeper hierarchy level:
- Consider a workflow with a flat hierarchy of job nodes such as the sequence: job1, job2, job3, job4.
- The order can start from any of job1, job2, job3, job4 and can end at the same node or any later node.
- Consider a workflow with a hierarchy of job nodes: job1, If Instruction: job2, Else: job3, job4, Lock Instruction: job5,
- The order can start from job1, from the If Instruction, from job4 and from the Lock Instruction.
- The order cannot start from job2, job3 or job5.
- The order can end at any node provided that the node does not occur before the start node of the order.
- Consider a workflow with a flat hierarchy of job nodes such as the sequence: job1, job2, job3, job4.