# Tasks

On the **Activity** tab, each automation task can have the following options: Replay from this task, Variables, Request Details, Logs, and Copy link to task. To find these task options, hover on the three dots on the right of the task and click to view the menu.

<figure><img src="/files/4adpEG4ETfB1Mfr2a61U" alt=""><figcaption></figcaption></figure>

## Replay from this task <a href="#replay" id="replay"></a>

Replaying from this task will copy the workflow's configuration and data into a new task that immediately runs. This is helpful if there was an issue with your Trigger/Action setup, script logic, third-party API, or if there was a minor issue with your data.

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

Replaying a task will continue executing the rest of your workflow steps that follow the replayed step.

{% hint style="info" %}
FTP Inputs will require that the original file is copied back to the original location on the FTP server (as listed in the `source` field).
{% endhint %}

## Request Details <a href="#payload" id="payload"></a>

The Request Details of a task allows you to view the details of the data initiating the automation task.

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

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

## Variables

Selecting the Variables option displays the data that was sent to the specific step when it ran and what variables the data offers.

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

Variables is especially helpful when setting up new automations and testing.  This option can assist in identifying the fields of available data in the steps and target the variables that match your end goal.

Expand the details by clicking the arrows in the data to view all the variables available in each listed object.

<figure><img src="/files/j6T645F4hYck4P5cW2Gk" 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.getmesa.com/workflow-activity/tasks.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.
