# Pick

> `System.Activities.Statements.Pick`

`System.Activities.Statements.Pick`

Provides event-based control flow. A **Pick** activity contains one or more [Pick Branch](https://docs.uipath.com/activities/other/latest/workflow/pick-branch) children, each consisting of a **Trigger** activity and an **Action** activity. The first branch whose **Trigger** completes has its **Action** executed; the other branches are canceled.

**Pick** is suited to scenarios where the next step depends on which of several events happens first — for example, waiting on user input versus a timeout.

## Project compatibility

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

## Configuration

Add one or more **Pick Branch** activities inside the body of the **Pick** activity. Each branch defines a **Trigger** and an **Action**.

## Properties

### Common

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

### Misc

| Parameter | Description |
| --- | --- |
| **Private** | When selected, the values of variables and arguments are no longer logged at Verbose level. |

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