Table of Contents

Search

  1. Preface
  2. Workflows
  3. Workflow Variables
  4. Workflow Parameters
  5. Cluster Tasks
  6. Command Task
  7. Human Task
  8. Mapping Task
  9. Notification Task
  10. Gateways
  11. Workflow Recovery
  12. Workflow Administration

Developer Workflow Guide

Developer Workflow Guide

Splitting a Sequence Flow into Multiple Branches

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.

0 COMMENTS

We’d like to hear from you!