Exclusive Gateway
An Exclusive Gateway (XOR Gateway) creates alternative paths in a process where only one path can be taken. It evaluates conditions on outgoing flows and routes the process token to exactly one branch based on the first matching condition.
What is an Exclusive Gateway?
An Exclusive Gateway (also called XOR Gateway) is a decision point that splits the process flow into mutually exclusive paths. When a token arrives, the gateway evaluates conditions on each outgoing sequence flow and sends the token down exactly one path-the first path whose condition evaluates to true.
Visual Representation
The Exclusive Gateway is shown as a diamond shape with an X marker inside. The X represents the exclusive nature of the decision-only one path will be taken. An empty diamond (without the X) is also valid and commonly used.
Key Characteristics
- Single path selection: Exactly one outgoing path is taken, never zero or multiple
- Condition evaluation: Outgoing flows have conditions; the first true condition wins
- Default flow: One flow can be marked as default (taken when no conditions match)
- Merging capability: Can also merge multiple incoming paths (no synchronization needed)
Common Use Cases
Approval Decisions
After a review, the process branches to "Approved" or "Rejected" paths based on the decision outcome.
Threshold Checks
Route requests differently based on value thresholds-e.g., orders under $1000 auto-approve, over $1000 require manager approval.
Status-Based Routing
Direct the flow based on data status-new vs. existing customer, valid vs. invalid input, complete vs. incomplete submission.
Frequently Asked Questions
Related BPMN Elements
Try this element in Crismo
Create beautiful BPMN diagrams with our modern process modeling platform.