BPMN event-based gateway
A BPMN event-based gateway is a diamond with a pentagon inside a double circle. The process waits at it, and the first event to happen on one of its outgoing paths decides which path is taken. The other paths are then dropped. It answers a question the process cannot answer from its own data: what will the outside world do next, and by when?

Open and edit this example↓ Download this example (.bpmn)
A race between events
In the example, sales sends a quote and then nothing more is in the company's hands. Three things can happen, and they are drawn as three catching events after the gateway:
- Order received (a message): the customer buys.
- Quote declined (a message): the customer says no.
- 14 days without an answer (a timer): the customer says nothing.
Whichever occurs first wins the race. The process continues on that path only, and the two other events are no longer waited for. Without the timer, a quote the customer never answers would stay open forever, which is the most common reason to reach for this gateway.
What may follow an event-based gateway
This gateway has stricter rules than the others, because every path after it has to begin with waiting:
| Allowed directly after it | Not allowed directly after it |
|---|---|
| Message intermediate catching event | User, service or manual tasks |
| Timer intermediate catching event | Another gateway |
| Signal or conditional catching event | End events |
| Receive task | Throwing events (the process sending something) |
Three more rules from the specification:
- The outgoing flows carry no conditions. Events decide, not data.
- Do not mix message catching events and receive tasks after the same gateway. Pick one style.
- Each event after the gateway has only that one incoming flow. Nothing else may lead into it.
The mistakes people make with it
- Using an exclusive gateway to wait. "Customer answered?" with Yes and No flows looks reasonable, but the process has no data to answer it with at that moment. If the diagram needs the words "wait until", it needs events.
- Putting the reaction directly after the gateway. "Confirm order" cannot follow the gateway; "Order received" must come first, then the task.
- Forgetting the timer. An event-based gateway with only message events can still wait forever. Add the deadline.
- Expecting it to collect several answers. It follows the first event only. To wait for all of several things, use a parallel gateway with one catching event per branch.
The alternative: a timer on the waiting step
When there are only two outcomes, an answer or a timeout, the same behaviour can be drawn without the gateway: a receive task "Wait for order" with an interrupting timer boundary event on its edge. If the order arrives, the flow continues from the task; if 14 days pass, the flow leaves through the timer.
Choose by the number of outcomes and by your readers:
- Two outcomes: the receive task with a boundary timer is more compact and many readers find it easier.
- Three or more outcomes, as in the quote example: the event-based gateway shows them as equal alternatives side by side, which the boundary-event version cannot.
The refund and returns example uses an event-based gateway to wait for a parcel or a 14-day deadline, and the collaboration diagram example uses one on the customer's side.
Next to the other gateways
BPMN gateways explained compares this gateway with the exclusive, parallel and inclusive ones. To see one placed in your own process, describe what you wait for and for how long in the BPMN Studio editor: "wait for the reply, or 14 days" becomes the gateway, the events and the deadline path.
Frequently asked questions
What is the difference between an event-based gateway and an exclusive gateway?
An exclusive gateway decides immediately, from data the process already has. An event-based gateway cannot decide yet: it waits, and the first event that occurs (a message arriving, a timer running out) picks the path. Use the exclusive gateway for "is the amount over 500?" and the event-based gateway for "did the customer answer in time?".
What can come after an event-based gateway?
Only things that wait: intermediate catching events (message, timer, signal, conditional) or receive tasks. A user task or service task directly after it is not allowed. Message events and receive tasks must not be mixed after the same gateway.
What happens to the events that did not fire?
They are dropped. As soon as one event after the gateway occurs, the process stops listening for the others. If the customer's order arrives on day 3, the 14-day timer is cancelled and can no longer close the quote.