> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/workflow-activity/tasks/replay.md).

# Replay

Hooray, you fixed the error in your workflow. You are the Ghostbuster of workflow errors! We recommend replaying the failed step to ensure you vanquished the error completely.

It's a quick walk-through, so let's go!

## Automatically Replay

Steps can be configured to automatically retry when there is a failure. To configure this, open the step Settings and select **Automatically replay** under Failed step handling:

<figure><img src="/files/C98ygdc1idKl34I2oaTU" alt="Screenshot of a MESA step Settings panel, configuring Failed step handling to retry on failure. Spotlight the Automatically replay option under Failed step handling."><figcaption></figcaption></figure>

This step will now be automatically replayed up to five times with an increasing delay between each try:

* After the first try: 31 second delay
* Second try: 2 minute, 32 second delay
* Third try: 5 minute, 4 second delay
* Fourth try: 10 minute, 8 second delay

{% hint style="info" %}
The [Google Sheets](/connect/google-sheets.md) app will automatically set the Failed step handling to **Automatically replay**. Other apps use **Log as an error in activity logs** as the default.
{% endhint %}

## Replay in your Activity Tab <a href="#replay-in-your-activity-tab" id="replay-in-your-activity-tab"></a>

In each workflow, you will find an **Activity** tab under the title. This is where the status of all your automations runs will be viewable. Go ahead and dive into that tab.

Activity for test and live workflows will appear here.

The **Activity** tab offers several ways to find and filter this view. For errors, you may select **Status** under Workflow runs and filter by **Fail** to find all automation runs with errors, or scroll down the Activity list to see where they came in within the history of your automation runs.

<figure><img src="/files/6LvMtYELIUhwlt4vsUI1" alt="Screenshot of a workflow Activity tab, using the Status filter under Workflow runs to filter by Fail and find automation runs with errors. Spotlight the Status filter set to Fail."><figcaption></figcaption></figure>

After you've updated the workflow and banished the error, click on the checkbox to the left of the run and select Replay the entire workflow after clicking the arrow next to where it says "Bulk actions for 1 selection."

<figure><img src="/files/9SE78RT0cn2dfgspLVyq" alt="Screenshot of a workflow Activity tab with a run checkbox selected, opening the Bulk actions for 1 selection menu. Spotlight the Replay the entire workflow option."><figcaption></figcaption></figure>

{% hint style="info" %}
Should you run into another error when you replay a task, the error message guides you on the next steps for troubleshooting.
{% endhint %}
