A start operator is connected to the first operator in a control
flow. Every control flow must have one and only one start operator.
When you create a control flow, a start operator is placed in the canvas.
You can select it to view and define its properties.
Unlike other control flow operators, the start operator cannot be selected
from the palette.
Ports
Unlike other control flow operators which
have both input and output ports, all start operator ports are output ports.
The start operator has the following 3 output ports:
- Start
- This output port starts the main processing branch of the control flow.
Connect this port to the first operator in the control flow. In the following
control flow, Data Flow-02 is run and then Data Flow-03 is run.
Figure 1. Start
output port of the start operator is connected to the input port of the first
operator in the main processing branch of a control flow
- On-failure
- This output port starts the process-level error branch of the control
flow. If there is an error in any operator in the control flow, the operators
connected to the on-failure port will always be run. Activity-level error
branches are run before the process-level error path. In the following control
flow, if Data Flow-03 fails then Email_06 is run. Email_06 is the process-level
error path. If either of the operators Data Flow_02 or Data Flow_03 had defined
error paths, then those error paths would run before Email_06 is run.
Figure 2. On-failure output port of the start operator is connected to the input
port of the first operator in the error processing branch of a control flow
Tip: When you connect two operators through the
unconditional port, then any errors in the first operator are ignored and
the control flow continues processing with a warning status.
- Cleanup
- This output port starts the sequence of operators that are run after completing
either the main processing branch or the error branch. In the following control
flow, Command_08 is run after Data Flow_03 is run or Email_06 is run.
Figure 3. Cleanup output port of the start operator is connected to the input
port of the first operator that is run after completing either the main or
error processing branch of a control flow