Gateways
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. The 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 want to have multiple transitions/flows that should be executed in parallel.
- Sequential Gateway: A Sequential gateway is used when you want to have multiple transitions/flows that should be run in sequence.
- Multi Choice Gateway: A Multi Choice gateway is used when you want to execute multiple transitions/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 added to these gateways, it is 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 empty service task activity. Otherwise, the status is not updated correctly, and the next activity execution does not happen.