Adding branches using gateways

Gateways contain one or more branches and are used to control the divergence and convergence of sequence flow. You typically add a gateway for one of the following reasons:

  • You want to execute operations simultaneously.

  • You want to use a branch type that is different from that of the main branch. (See Branches .)

The following diagram shows a Gateway element with two branches.

You also control how the process continues after the gateway, where the branches converge:

  • The process continues only after all of the operations of each branch are complete. This configuration is used when subsequent operations in the process depend on the completion of all branches in the gateway.

  • The process continues when the operations in any one branch are complete. This configuration is used when the process is affected by which branch is first completed.

  • The process continues immediately, regardless of whether any of the branches are complete. This configuration is used when subsequent operations do not depend on the results of the operations in the gateway.

// Ethnio survey code removed