# Else

This action in Avo Assure is available under the **@Generic Element**, and the functionality of this action in Avo Assure is to execute an alternative action, after checking the condition, if the condition gets false, then the '**Else**' part will be executed and the action result store in the give dynamic variable.

{% hint style="warning" %}
***Note:** Without If action we cannot use the **Else** action.*
{% endhint %}

### Syntax&#x20;

**Input Value:** `N/A`&#x20;

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

**Output Value:**&#x20;

| Argument                                                     | Description                                             |
| ------------------------------------------------------------ | ------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable> (Optional) | This variable holds the status as **True** or **Fales** |

**Example**

**Executes Else actions when the If condition fails**

The **Else** action does not require any value from the Input Value column. It is used to define a different set of steps that should execute when the If condition evaluates to false. The flow continues with the actions inside the Else block until an EndIf is encountered.

**True**: condition defined in input field is successfully fulfilled

**False**: condition defined in input field is not fulfilled

<figure><img src="/files/9XdLL2mMKE7UyW7cuxHx" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note**: When using this conditional operation in a step of a Test Case, the status of its execution is stored in the test reports where:

* **Pass** means the conditional statements was executed successfully&#x20;
* **Fail** means the conditional statements did not execute successfully&#x20;
  {% endhint %}

<figure><img src="/files/0bF1HbE5N3UFW5fMeQyG" 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/generic/loops-and-condition-operations/else.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.
