# Pause Execution

This is a pre-built Action located under the **@Generic Element**. The functionality of this Action in Avo Assure is to pause the test execution at a specific point and resume it only after receiving user confirmation. The execution result is stored in a dynamic variable.

## **Syntax**

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

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

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

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

### Example: Halting an Execution Until User Confirmation

In this example, we explain how to use Pause action execution Action at a specific step.

* **Action**: Pause Execution
* **Input Value**: N/A
  * This action does not require any input value. It simply pauses the ongoing test execution until user confirmation is received.
* **Output Value:** {Status}
  * The execution status (True) is stored in this **{Status}** dynamic variable with the following possible values:
    * **True**: If the execution resumes successfully after the user clicks **OK.**
    * **False:** If the action fails to pause or resume properly.

{% hint style="info" %}
**Note**: If the user closes the dialog without clicking the **OK** button, the execution does not proceed. It remains paused at the current step until the user re-executes it.
{% endhint %}

* **Logical Explanation**: The **Pause Execution** action halts the ongoing execution and displays a confirmation **Avo Assure - Pause** dialog box. The execution resumes only after the user clicks the **OK** button. The result of this action is stored in the **{Status}** variable as True upon successful resumption.

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

<figure><img src="/files/Q7MwhaNq9EejSBAc397J" 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/interrupt-operations/pause-execution.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.
