Splitting a Sequence Flow into Multiple Branches
Use a gateway to split a sequence flow into multiple sequence flows. Connect the gateway to multiple objects. Each connection is a sequence flow that begins a branch in the workflow.
1. Add a gateway to the workflow.
2. Add objects to the workflow to represent the actions that the Data Integration Service might take on different branches.
3. Configure the objects.
4. Connect the gateway to each object. Use the editor, or use the Sequence Flows tab.
- - In the editor, select the gateway and drag it to each object.
- - In the Sequence Flows tab, click New. In the Connect Workflow Objects dialog box, select the objects to connect to the gateway.
5. Select the gateway.
6. In the Properties view, click the Sequence Flows tab.
7. To set the default sequence flow, select a sequence flow and click Set as Default.
8. Define a condition expression in each outgoing sequence flow that is not the default sequence flow.
- - To display the condition editor for a sequence flow, click the arrow in the Condition column.
- - You can include workflow parameters and variables in the expression. Select a workflow parameter or variable from the Inputs tab in the condition editor, or type the parameter or variable name in the condition in the required syntax.
9. Use the arrows to define the order in which the Data Integration Service evaluates the sequence flows.
Use another gateway to merge the branches to a single sequence flow. Use the same type of gateway to create the branches and to merge the branches.