BPMN Studio logoBPMN Studiov2.0 Try it free
ContentsOverview

BPMN inclusive gateway (OR)

A BPMN inclusive gateway (OR) is a diamond with a circle inside that takes every outgoing path whose condition is true: one, several or all of them. It sits between the exclusive gateway, which takes exactly one path, and the parallel gateway, which takes all of them without asking. Use it when the options are independent of each other and more than one can apply to the same case.

or open a blank editor

Opens the editor with your text in the chat. Generating needs a free account, no card.

BPMN inclusive gateway example: an appointment reminder sent by email, SMS or both, with a default path to a phone call
An inclusive split: email, SMS or both, and a phone call as the default when neither applies. The inclusive join waits only for the paths that were taken.

Open and edit this example↓ Download this example (.bpmn)

One example, four possible runs

In the reminder example the gateway asks "How can we reach the patient?" and each outgoing flow has its own condition. For any one patient, the process runs in one of four ways:

Patient has Paths taken The join waits for
Email and mobile number Send email, send SMS Both
Email only Send email The email path
Mobile number only Send SMS The SMS path
Neither Call the patient (the default flow) The phone call

An exclusive gateway could not express the first row, and a parallel gateway could not express the other three.

How the inclusive join works

The split is easy to understand. The join is the part that makes this gateway special: it waits for exactly the paths that were started, and no others. If only the email went out, the join does not wait for an SMS that was never sent.

To do that, the join has to know whether a token can still arrive on each incoming flow. On a small diagram this is obvious. On a large one, with loops or other gateways between the split and the join, it becomes hard for a reader to work out and, in a process engine, comparatively expensive to evaluate. That is the practical reason many teams treat the inclusive gateway as a tool for small, well-contained parts of a model. If the diagram will run on an engine, check how your engine version supports the inclusive join before relying on it.

Always pair an inclusive split with an inclusive join:

  • A parallel join would wait for every path, including the ones not taken, and deadlock.
  • An exclusive merge would let each arriving path through by itself, so "Record reminder" would run twice for a patient with both email and mobile number.

When to use it, and when not to

Use an inclusive gateway when all three are true:

  1. There are two or more optional actions.
  2. Each has its own condition, independent of the others.
  3. At least one of them, or the default, always applies.

Typical cases: notification channels, optional checks on an application (credit check if the amount is high, identity check if the customer is new), extras on an order (gift wrapping, insurance).

Do not use it when the conditions exclude each other. "Under 500 EUR" and "500 EUR or more" can never both be true, so that is an exclusive gateway, and drawing it as inclusive makes the reader look for a combination that does not exist.

The alternative that avoids it

The same behaviour can be drawn with gateways everyone knows: a parallel split with one branch per option, and on each branch an exclusive gateway that either does the action or skips it.

  • Inclusive gateway: 2 gateways, compact, but the reader must know the OR-join rule.
  • Parallel split with skips: 2 gateways plus 2 per option, larger, but readable by anyone who knows the two basic gateways.

For an audience new to BPMN, or a model that has to run on an engine with limited inclusive support, the longer version is the safer choice. For analysts documenting a process, the inclusive gateway says the same thing in a third of the space.

Next to the other gateways

BPMN gateways explained compares all the gateway types in one table. To have the gateway chosen for you, describe the options and their conditions in the BPMN Studio editor: say which options can apply together and which exclude each other, and the gateway type follows from that.

Frequently asked questions

What is the difference between an inclusive and an exclusive gateway?

An exclusive gateway takes exactly one outgoing path: the first whose condition is true. An inclusive gateway checks every condition and takes all the paths whose condition is true, which can be one, several or all of them.

What is the difference between an inclusive and a parallel gateway?

A parallel gateway has no conditions and always takes every path. An inclusive gateway has a condition on each path and takes only those that are true. An inclusive gateway whose conditions are all true behaves like a parallel one.

Does an inclusive gateway need a default flow?

It should have one. If no condition is true and there is no default flow, the process cannot continue, which the BPMN specification treats as an error. The default flow is taken only when every other condition is false.