# Pick Branch

> `System.Activities.Statements.PickBranch`

`System.Activities.Statements.PickBranch`

A single branch within a [Pick](https://docs.uipath.com/activities/other/latest/workflow/pick) activity. Each **Pick Branch** has a **Trigger** activity and an **Action** activity. When the **Trigger** completes, the **Action** runs. If a different branch's trigger completes first, this branch is canceled.

## Project compatibility

**Windows - Legacy** | **Windows**

## Configuration

| Parameter | Description |
| --- | --- |
| **Trigger** | The activity that waits for an event to occur. When this completes, the **Action** of the same branch is executed and the other branches are canceled. |
| **Action** | The activity executed after the **Trigger** completes. |

## Properties

### Common

| Parameter | Description |
| --- | --- |
| **DisplayName** | The display name of the activity. |

### Misc

| Parameter | Description |
| --- | --- |
| **Variables** | Variables scoped to this branch. |

This activity is built by Microsoft. For more information, see [their official documentation](https://learn.microsoft.com/en-us/dotnet/api/system.activities.statements.pickbranch?view=netframework-4.8.1).
