Gateways allow you to control the Sequence Flow. Different types of gateways will be useful for different scenarios.
Exclusive Gateways
allow you to decide which Sequence Flow should be followed based on conditions.
Conditions are not part of the
Exclusive Gateways themselves. You set them
through the sequence Flow Exiting the Exclusive Gateway.
In the Camunda Modeler, you can add conditions to Sequence Flow by selecting
a Sequence Flow and opening the Condition
tab. You can find more information on how to
use Conditions here.
The Event-based Gateway allows you model scenarios where you are expecting one out of a number of events to occur.