Event Based Gateway

Use an Event Based Gateway when the Process path depends on which event occurs first — such as the receipt of a message by a participant. Use it when the continuation of the process depends on obtaining more data, to wait for a specific time or to meet a condition.

For example, when a condition of the Timer Intermediate Catch Event is set at 5 minutes:

  • If the message arrives before the timer expires, Task A is performed.

  • If no message is received within 5 minutes, the process continues with Task B.

An Event Based Gateway.

Rules for Event Based Gateways

  • The gateway must have two or more outgoing Sequence Flows.

  • Outgoing Sequence Flows must not have a condition expression.

  • Targets must be either Intermediate Events or Receive Tasks — not both.

  • Target elements must not have additional incoming Sequence Flows.

Attributes

You’ll find Event Based Gateway attributes within the Attributes panel, under the Attributes tab.