A Gateway allows you to control the flow of a process through a sequence flow. The term Gateway implies that there is a gating mechanism that either allows or disallows passage through the Gateway. Tokens that arrive at the gateway can be merged as inputs and/or split as outputs.

If the flow of a process does not need to be controlled, process does not need a gateway.

Types of Gateways are as follows: