# EndIf

This action in Avo Assure is available under the **@Generic Element**. Its functionality is to close the If condition statement after executing the conditional logic. Without the **EndIf** action, the If condition cannot execute correctly and results in a dangling error.

## Syntax

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

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

**Output Value:** `N/A`

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

**Example**

**Marks the end of an If or Else block in the execution flow**

The **End If** action does not require any value from the Input Value column. It signifies the closure of an If, Else If, or Else block and ensures the logical condition block is completed before continuing with the next steps in the execution.&#x20;

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FkMURFapHhw8ViN50L1TU%2Fimage.png?alt=media&#x26;token=e56867ca-c463-454b-8f20-3a304888e03d" alt=""><figcaption></figcaption></figure>
