BPMN element · Gateways

Complex Gateway

Definition

A gateway that enables custom, non-standard routing rules in a process flow, allowing for more advanced and tailored decision-making logic compared to other gateway types.

Characteristics

  • Utilized in scenarios where predefined gateways (e.g., exclusive, inclusive, parallel) cannot address the required complexity.
  • Allows combining conditions or creating custom logic for branching or merging process flows.
  • Can handle dynamic or conditional flows based on complex sets of inputs or evaluations.

Example

At SparkleEvents, the event coordinator is preparing a conference. Depending on the client’s package, they might need catering, AV setup, and/or guest check-in support. However, catering should only begin if both AV and check-in are confirmed, no food without a full setup! A complex gateway helps coordinate this rule, ensuring all the right parts come together in the right combination before moving forward.

Best Practices

As the complex gateway is not very explicit, it’s best to avoid it if possible.

  • Prefer simplicity: Use (a combination of) simpler gateways (exclusive, parallel, inclusive) when they fulfil the process requirements.
  • Clear documentation: If you have to use a complex gateway, make sure it’s well-documented to avoid confusions.