Control Nodes Overview
Control nodes manage the flow of your processing from node to node.
Control Node | Description |
---|---|
Start | Defines global settings. This is the built-in initial node. |
Conditional | Handles the flow of a branch based on the values for various conditions. |
Loop | Allows the process flow to proceed through a set of one or more nodes multiple times. |
Fork | Branches the task flow into multiple simultaneous branches. |
Wait | Specifies a Fork node with branches that must complete before the flow can proceed. |
End | Completes the flow processing on a branch based on the values for various conditions. |
NOTE:
- Branches, which are created by Fork and Wait nodes or by each iteration of a Loop node, create their own scope. Anything that affects the state of the Production script in a branch will only affect the script for that branch and its children.
- Scope is helpful if you have multiple branches and you want to define different values of the same parameters. It is less helpful if you want to define parameters inside a branch and use them outside the branch.
- If the scope is a problem, the easiest workaround is to define the parameter outside of the branch—define the parameter before the fork or loop and then use it within the branch.
- If you need to determine the value of a parameter inside a branch and then use it outside the branch, write the value to a file and read it after the branch ends.