# Deselect All Values from List

This is a pre-built Action located under the captured list element. The functionality of this Action in Avo Assure is to deselect all values that are already selected in the list. The result is stored in the given dynamic variable for further use during test execution

## Syntax

**Input Value**: `N/A`

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

**Output Value**: `<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)`

| Argument                                                    | Description                                                       |
| ----------------------------------------------------------- | ----------------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | Both dynamic variable stores the status as **True** or **False**. |

### Example: Deselecting All Values from a Multi Select List&#x20;

In this example, we explain how to deselects the multiple values which is already selected&#x20;

* **Action**: Deselect all Values from List&#x20;
* **Input Value**: N/A&#x20;
  * This action does not require any input value. It targets the captured multi-select list element and clears all selected items.&#x20;
* **Output Value**: {Status}&#x20;
  * The execution status of the deselection action is stored in the **{Status}** dynamic variable with the following possible values:&#x20;
    * **True**: If all values are deselected successfully.&#x20;
    * **False**: If all values are not deselected.&#x20;
* **Logical Explanation**: The **Deselect all Values from List** action executes without requiring any input. The action identifies the targeted multi-select list element and removes all currently selected options. The result of the operation (**True**) is stored in the **{Status}** variable.

<figure><img src="/files/TrlEB61XeWa5OCAf66Nu" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/web/list/deselect-all-values-from-list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
