# Wait for Status to Change

Pauses a running workflow, polling the incident's status every 10 minutes, until it reaches Resolved or 30 days have elapsed.


> **Availability:** See the [Incident Workflow Actions Overview table](/workflow-actions) for the plans this workflow is available on.

## Description

When you add this action to a workflow, it will automatically pause the workflow until the incident meets the specified status. The incident status is polled every 10 minutes to determine whether it has changed. Currently, the only supported status is **Resolved**. This action allows you to easily create a single workflow that takes actions when an incident is first triggered and when it is resolved.

> **Action Timeout:** The action will timeout and the workflow will terminate if the selected status has not been reached after 30 or more days.

## Instructions

1. If you have not done so, follow the instructions to [Create an Incident Workflow](/ai-automation/automation/incident-workflows#create-an-incident-workflow).
2. When the instructions prompt you to [add actions](/ai-automation/automation/incident-workflows#add-actions), select **this action**.
3. Enter the following **Inputs** and click **Save**.
4. Continue following instructions to **Publish** the Workflow.
5. When the action runs, you will see the **Outputs** listed below.

## Inputs

| Name   | Description                                                    |
| :----- | :------------------------------------------------------------- |
| Status | Workflow will continue if the incident changes to this status. |

## Outputs

| Name           | Description                                                                         |
| :------------- | :---------------------------------------------------------------------------------- |
| Result         | Value that shows if the action was successful or not. Either "Success" or "Failed." |
| Result Summary | Brief description of what the action did or if it failed.                           |
| Error          | Brief description that populates if the action failed.                              |
