# Select Rows

This is a pre-built action available under the **Captured Grid Element** from the **SAP GUI Application**. The functionality of this action in Avo Assure is to select the specified rows from the Grid based on the input value.&#x20;

### Syntax

**Input Value:** `<Row Number/Numbers (with separator as ;)>`&#x20;

| Argument                                                | Description                                              |
| ------------------------------------------------------- | -------------------------------------------------------- |
| \<Row Number/Numbers (with separator as ;)>  (Required) | Row numbers to be selected, separated by a semicolon (;) |

**Output Value**&#x20;

| Argument                                                      | Description                                                      |
| ------------------------------------------------------------- | ---------------------------------------------------------------- |
| \<Dynamic Variable> (Optional);\<Dynamic Variable> (Optional) | This dynamic variable holds the result as **True** or **False**. |

**Example**

**Selects the Rows 6 and 9 in the SAP Grid**&#x20;

The **SelectRows** action takes the value from the Input Value column (e.g., **6;9**) and selects the specified rows in the SAP Grid based on the provided row numbers.

<figure><img src="/files/1aQ0YwZof7YMTHN4maYw" 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/sap/grid-control-operations/select-rows.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.
