Controlling Flow with Sequence Flows and Gateways

A sequence flow links one activity with another. A process follows the sequence flow when its entry condition is met. Standard and unconditional flows are activated when the source activity of the flow is completed.

Conditional sequence flow (for example, from an exclusive OR gateway) is activated if the condition is True when evaluated.

  • For exclusive split gateways, only the first flow whose condition is True is followed, otherwise the default flow is followed.

  • For inclusive split gateways, all flows whose condition is True are followed. Otherwise, if no condition is True, then the default flow is followed.

To rejoin split flows, you can link multiple sequence flows into a single join gateway.

  • A parallel join gateway follows its outgoing flow when all incoming flows have been followed.

  • An exclusive join gateway repeatedly follows its outgoing flow for every incoming flow (so it is mainly used to join exclusive conditionally split flows).

  • An inclusive join gateway can be configured to follow its outgoing flow upon certain patterns of the incoming flow.