> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/workflows/designing-workflows/processes/shape-repository/exclusive-gateway.md).

# Exclusive gateway

Used to create diverging, alternative paths within a process when only one of the alternative paths can be taken.

Conditions are evaluated on the outgoing sequence flows, not on the gateway itself. Each condition expression must evaluate to `true` or `false`. Collibra evaluates the outgoing sequence flows in the order defined by the Flow order property and follows the first one whose condition evaluates to `true`.

{% hint style="info" %}
If more than one condition evaluates to `true`, only the first defined sequence flow is followed. Design your process to ensure conditions are mutually exclusive. If no condition evaluates to `true`, the process gets stuck. To prevent this, mark one outgoing sequence flow as a default flow.
{% endhint %}

<img src="/files/tIlMyqXUXhdqR73HArF4" alt="" width="25%">

## General properties

| Property      | Description                                                                                                  |
| ------------- | ------------------------------------------------------------------------------------------------------------ |
| Model ID      | The unique identifier of the element within the process model.                                               |
| Name          | The name of the element displayed in the diagram.                                                            |
| Documentation | A description and any additional information about this element.                                             |
| Flow order    | The order in which the outgoing flows will be evaluated and stored in the XML representation of the process. |

## Advanced properties

| Property                                                                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Asynchronous](/workflows/designing-workflows/processes/process-execution.md#asynchronous-activities) | <p>Whether the activity starts as an asynchronous job, placing a transaction boundary before the activity:</p><ul><li><strong>No</strong> (default): Synchronous.</li><li><strong>Yes, exclusive</strong>: Asynchronous and with no other exclusive asynchronous jobs in the same process run at the same time.</li><li><strong>Yes, non-exclusive</strong>: Asynchronous and can run concurrently with other asynchronous jobs in the same process.</li></ul>                                                |
| Leave asynchronously                                                                                  | <p>Whether the activity leaves as an asynchronous job after it completes, placing a transaction boundary before the process advances to the next element:</p><ul><li><strong>No</strong> (default): Synchronous.</li><li><strong>Yes, exclusive</strong>: Asynchronous and with no other exclusive asynchronous jobs in the same process run at the same time.</li><li><strong>Yes, non-exclusive</strong>: Asynchronous and can run concurrently with other asynchronous jobs in the same process.</li></ul> |

## Visual properties

| Property         | Description                                         |
| ---------------- | --------------------------------------------------- |
| Font size        | The font size of the element in the diagram.        |
| Font weight      | The font weight of the element in the diagram.      |
| Font style       | The font style of the element in the diagram.       |
| Font color       | The font color of the element in the diagram.       |
| Background color | The background color of the element in the diagram. |
| Border color     | The border color of the element in the diagram.     |
