---
version: "2026.1.0"
language: "en"
---
# Set Dropdown

The **Set Element Dropdown** building block selects a value from a dropdown menu in a Salesforce application (including dropdowns inside grid/table views). It is automatically created when you select a dropdown value while recording with the Salesforce Fusion Recorder. This block works only in browser sessions launched using the Salesforce **Login** block or within an active Salesforce recording session.  
![image-20260209-162300.png](https://docs.leapwork.com/__attachments/a_44dedfb7203434099c1fc564c793e0cac6d0690168979fb42513198a48edd7e6/image-20260209-162300.png?cb=5f03c4a99e388435b01b4a64bc1dc611)

**Note:** The layout shown in some documentation is part of the **Elegance Design** , introduced in Leapwork **2025.3**. Earlier versions may display a different layout.

## Quick-start

1. Start a recording session using the [Salesforce Fusion Recorder](https://www.leapwork.com/product/documentation/salesforce-fusion-recorder).

2. Log in to Salesforce using the **Salesforce Login** block.

3. Interact with a dropdown menu in the application (e.g., select a value).

4. Stop the recording and save the automatically generated blocks, including **Set Dropdown**.

5. Run the flow when it's ready.

## Building block parameters

Parameters  
* **Block header** : The green input connector triggers the block when the flow reaches it. The green output connector triggers when the dropdown value has been selected successfully. The block title (for example "Set Title Dropdown") can be renamed by double-clicking it and typing a new title.

* **Text** : Selects the value to choose from the dropdown list. During recording, the available options are fetched from the dropdown element in the UI, and the field shows the same list so you can pick a predefined value.

* **Fail** : Triggers if the target dropdown element cannot be found within the configured timeout, so the flow can branch into fallback or error-handling logic.

* **Default timeout** : Controls whether the block uses a fixed, local timeout or the flow's default timeout. If the checkbox is **not selected** , the block uses the value in **Timeout (sec)** (default **10 seconds** unless changed manually). If the checkbox **is selected** , the block uses the **Default timeout** configured in the flow settings.

* **Timeout** : The maximum time the block waits for the dropdown (and its options) to become available before giving up and triggering **Fail** . This is separate from the case global timeout in **Settings**.

## Resources

|                                                **Topic**                                                |                                                  **Description**                                                  |
|---------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
| [Flows FAQ](https://docs.leapwork.com/faq/latest/leapwork-flow-faq/flows-faq.md)                                                 | Common questions about creating, running, and managing flows in Leapwork.                                         |
| [Flows Troubleshooting](https://docs.leapwork.com/troubleshooting/latest/leapwork-flow-troubleshooting/flows-troubleshooting.md) | Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |
| [Salesforce FAQ](https://docs.leapwork.com/faq/latest/leapwork-flow-faq/salesforce-faq.md)                                       | Frequently asked questions about Salesforce                                                                       |
| [Salesforce Fusion Recorder](https://docs.leapwork.com/leapwork-flow/latest/working-with-leapwork/salesforce-fusion-recorder.md) | How to use the Salesforce Fusion Recorder                                                                         |