# Set Element Combo Box

The **Set Element Combo Box** block selects one or more values from a combo box in a Salesforce application. Combo boxes can allow typing, selecting from a list, or both, which makes them useful for fields such as categories, industries, or multi-select preferences.

This block is automatically generated when you type into or select values from a combo box while recording with the **Salesforce Fusion Recorder**. It also supports combo box actions performed inside grid elements (for example, list or table views).

**Note:** This block works only in browser sessions launched using the **Salesforce Login** block or within an active Salesforce recording session.

Fully expanded, the **Set Element Combo Box** block shows the following properties:

**Note:** The screenshot on this page uses the **Elegance Design**, introduced in **2025.3**. If you are using an earlier version, your layout may look different.

## Quick-start

1. In the **Salesforce Fusion Recorder**, record a step where you set a combo box value (by typing, selecting from the list, or both).
2. Stop the recording and review the generated blocks; adjust any parameters you need before saving.
3. Save the recording so the recorded flow is added to the canvas, then run the flow when it’s ready.

## Building block parameters

### Parameters
- **Block header:** Shows the current title of the **Set Element Combo Box** block. You can rename it by double-clicking the header and typing a new title (Fusion Recorder typically auto-names it based on the captured element/action).

The green input connector triggers the block when the flow reaches it, and the green output connector triggers when the combo box values are set successfully.

- **Combo box value:** Specifies the value or values to select in the combo box. The available options are captured during recording, and you can change the selection later in Flow.

This parameter is **mandatory**.

- **Fail:** Triggers if the combo box (or the requested values) cannot be found or applied within the configured timeout. Use this output to branch the flow for fallback handling.
- **Default timeout:** Controls whether the block uses a fixed timeout or the flow’s default timeout. If the checkbox is not selected, the block uses a fixed timeout; if it is selected, the flow’s default timeout is applied.
- **Timeout (sec):** Sets how long the block waits for the combo box and its values to become available before triggering **Fail**. This field is only visible when **Default timeout** is not selected.

## Resources

| **Topic** | **Description** |
| --- | --- |
| [Flows FAQ](https://docs.leapwork.com/faq/latest/leapwork-flow-faq/flows-faq) | Common questions about creating, running, and managing flows in Leapwork. |
| [Flows Troubleshooting](https://docs.leapwork.com/troubleshooting/latest/leapwork-flow-troubleshooting/flows-troubleshooting) | 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) | Frequently asked questions about Salesforce |
| [Salesforce Fusion Recorder](https://leapworkdocumentation.atlassian.net/wiki/spaces/ARM/pages/256016385) | How to use the Salesforce Fusion Recorder |
