13.4.2.2.1 Gateways

A split refers to a condition where an incoming transition is split into multiple transitions. In merge, multiple incoming transitions are merged into a single transition. Splitting and merging of activities are modeled through gateways. A gateway can be Sequential, Parallel, or Multi Choice.

  • Parallel Gateway: A Parallel Gateway is used when you have multiple transitions or flows that should be executed in parallel.
  • Sequential Gateway: A Sequential Gateway is used when you have multiple transitions or flows that should run in sequence.
  • Multi Choice Gateway: A Multi Choice Gateway is used when you must execute multiple transitions or flows based on the Decision Rule.

    Note:

    If you use a Parallel or Multi Choice Gateway in your pipeline, ensure that after all the activities are added to these gateways, they are merged or closed again with a Parallel or Multi Choice Gateway, respectively. If there is no more activity to be performed after the Parallel or Multi Choice Gateway, it is mandatory to add an empty service task activity. Otherwise, the status is not updated correctly and the next activity execution does not happen.