> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/user/scenarios/managing-scenarios/how-to-manage-a-scenario.md).

# How to Manage a Scenario

### Scenario edit form

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

1. Source and destination UUIDs.
2. The condition for the step.
3. Condition XSLT field (required if **Condition** is enabled).
4. Action buttons on the step form:

* **Save step** ![](/files/Cc9wRxz4yr2WrK09Ynjl) button. Available in edit mode. Disabled if the step form is invalid.
* **Delete step** <img src="/files/1yUYCpXHpfuSTBioA5it" alt="" data-size="line"> button. The first step can’t be deleted.
* **Edit step** <img src="/files/CObPP9GsnSlTOf8wXAWh" alt="" data-size="line"> button. Switches the step to edit mode.

5. Action buttons in the scenario form:

* **Delete scenario** <img src="/files/pS2VjeIdiQS5iHAFeWds" alt="" data-size="line"> button
* **Clone scenario** <img src="/files/zc21CcfdnGkRuuSD8wCZ" alt="" data-size="line"> button
* **Save scenario** <img src="/files/WwVGAM0mqi0Xigm0WHIy" alt="" data-size="line"> button

### How to move a scenario to a folder

1. Open **Scenarios**.
2. Click the **Scenario menu** button next to the required scenario.
3. Select **Move**.
4. Select the destination folder.
5. Click **Move**.

After the scenario is moved, it no longer appears on the main scenarios screen. Open the selected folder to find and run it.

### How to add a scenario to Favorites

Click the **Favorite** icon on the required scenario. The scenario appears in the **Favorites** category.

To remove the scenario from **Favorites**, click the icon again.

### How to edit a scenario

1. Open the scenario list <img src="/files/lGzpjyiIEASPtIlwVQMU" alt="" data-size="line">.
2. Click the **Scenario menu** <img src="/files/W6LwoGaJWytgM2JWQmsW" alt="" data-size="line"> button.
3. Select the **Edit** option from the list.
4. Make your changes and save the scenario.

#### How to edit a scenario step

1. Click the **Edit step** <img src="/files/CObPP9GsnSlTOf8wXAWh" alt="" data-size="line"> button on the step you want to edit.
2. Make your changes.
3. Click the **Save step** ![](/files/Cc9wRxz4yr2WrK09Ynjl) button in the upper-right corner of the step.
4. Click the **Save scenario** <img src="/files/WwVGAM0mqi0Xigm0WHIy" alt="" data-size="line"> button.

### How to clone a scenario

1. Open the scenario list <img src="/files/lGzpjyiIEASPtIlwVQMU" alt="" data-size="line">.
2. Click the **Scenario menu** <img src="/files/W6LwoGaJWytgM2JWQmsW" alt="" data-size="line"> button.
3. Select the **Clone** option from the list.

{% hint style="info" %}
When a scenario is cloned, you receive a notification. The cloned scenario appears in the list.
{% endhint %}

You can also clone a scenario using the <img src="/files/zc21CcfdnGkRuuSD8wCZ" alt="" data-size="line"> button, inside the editing form of a specific scenario.

### How to delete a scenario

1. Open the scenario list <img src="/files/lGzpjyiIEASPtIlwVQMU" alt="" data-size="line">.
2. Click the **Scenario menu** <img src="/files/W6LwoGaJWytgM2JWQmsW" alt="" data-size="line"> button.
3. Select the **Delete** option from the list.

{% hint style="info" %}
When a scenario is deleted, you receive a notification. The scenario disappears from the list.
{% endhint %}

You can also delete a scenario using the <img src="/files/pS2VjeIdiQS5iHAFeWds" alt="" data-size="line"> button inside the editing form of a specific scenario.
