# Verify Column Value

This is a pre-built action in Avo Assure, this action validates whether a specific value is present **in All rows** of a designated column in a table, and result is save in the dynamic variable.&#x20;

### Syntax

**Input Value:** `<Column Header>;Value;Allrow(Optional)`

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td><p>Column Header</p><p>(Required)</p></td><td>The Column name which we want to search for value</td><td></td></tr><tr><td><p>Value</p><p>(Required)</p></td><td>The value which we want to search</td><td></td></tr><tr><td><p>Allrow</p><p>(Optional)</p></td><td>This is optional parameter. It will search for value in every row of the column.</td><td></td></tr></tbody></table>

{% hint style="warning" %}
**Note:**&#x20;

* ALLROW/ANYROW, are not case sensitive
* In above example: Fee Events is element in our script, Verify Column Value is action name and Input value is Account Name;ABBOTT MILK;allrow. We will search for all rows in which abbott milk text is present.
  {% endhint %}

{% hint style="warning" %}
**ALLROW Pass/Fail:**

•If pass a value which is present in all rows in a column - It will pass

**•** If pass a value which is present in 1 row in a column and grid is showing only 1 row - It will pass&#x20;

• If pass a value which is not present in all rows in a column - It will fail.

• If pass a value which is present in only 1 row, but rest rows have different data in a column - It will fail.

•If pass a value and grid has zero rows - It will Fail.
{% endhint %}

{% hint style="warning" %}
**ANYROW Pass/Fail:**

•If pass a value which is present in only 1 row, but rest rows have different data in a column - It will pass.

•If pass a value which is present in a column and grid is showing only 1 row - It will pass.

• If pass a value which is present in more than 1 row in a column - It will pass.

• If pass a value which is not present in any rows in a column - It will fail.

•If pass a value and grid has zero rows - It will fail.
{% endhint %}

**Output Value:**

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>&#x3C;Dynamic Variable>(Optional)&#x3C;Dynamic Variable>(Optional)</td><td>This variable holds the results in <strong>True</strong> and <strong>False</strong></td><td></td></tr></tbody></table>

**Example 1**&#x20;

**Verifies a specific value in a table column**&#x20;

The **Verify Column Value** action takes the value from the Input Value column (e.g., **Loan Type;Personal Loan)** and verifies it in the *Loan Type* column of the table. The result of the verification is stored in the **{Status}** variable, with the following possible values:

* &#x20;**Ture** – if the value is found.
* **False** –if the value is not found or an error occurs

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2Fdd5A4MhF1qgrTJM7zANQ%2Fimage.png?alt=media&#x26;token=1f3ec0ff-dffa-457c-93d4-ee72d3f75000" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2Fj5ScNESrZjALIODWRq5m%2Fimage.png?alt=media&#x26;token=dfdec0ba-6774-4e29-b9c5-b6476f393318" alt=""><figcaption></figcaption></figure>

**Example 2**&#x20;

**Verifies that a specific value is present in all rows of the specified table column.**

The **Verify Column Value** action takes the value from the Input Value column (e.g., **Loan Type;Personal Loan;Allrow)** and verifies the **Personal Loan** value is present in all rows in the  ***Loan Type*** column of the table. The result of the verification is stored in the **{Status}** variable, with the following possible values:

* &#x20;**Ture** – if the value is present in all row.
* **False** –if the value is not present in all row

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FlnQEzRFzreFc3pWBZyFD%2Fimage.png?alt=media&#x26;token=8e6ff9c7-509f-43f9-b284-c9bebe2ff6da" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FEmeRWO5EljUm0SAT7QoA%2Fimage.png?alt=media&#x26;token=90e869fc-a798-451f-b520-6cc7675a045e" alt=""><figcaption></figcaption></figure>
