> ## Documentation Index
> Fetch the complete documentation index at: https://docsv4.mile.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Version History

> See what changed in a flow, preview an earlier version and restore it.

Every save of a flow is kept as a **version**. The **History** lets you see who changed what and when, preview how an earlier version looked on the field app, and roll back an accidental change.

> [!NOTE]
>
> Required permission:
>
> * View flow
> * Edit flow

Open a flow and click the **History** button (the clock) next to the flow picker.

![History](https://mintcdn.com/mileappv4/T0wCST91hRTDusjf/images/v4/workflow/flow-history.png?fit=max\&auto=format\&n=T0wCST91hRTDusjf\&q=85\&s=f3002765369ce0ae9cd50a15575b339e)

1. **Version list**: every version, newest first. Each row shows the version number (**v3**, **v2**, …, with **Created** for the first one), what happened (**Flow created**, **Flow updated**, **Flow restored** or **Flow reordered**), who did it and when. Click a version to see what changed in it.
2. **Changes**: what this version changed compared with the one before it, such as **1 change**. Each line names the page, component or configuration setting and whether it was **Added**, **Changed** or **Removed**, or that it moved from one position to another. A version with no differences says **Nothing changed in this version.**
3. **Preview version**: show the version in the mobile app preview.
4. **Restore**: bring the flow back to this version. The first (**Created**) version and the version that is already current have no Restore.

## Preview a version

**Preview version** shows the selected version on the simulated phone, page by page.

![Preview a version](https://mintcdn.com/mileappv4/T0wCST91hRTDusjf/images/v4/workflow/flow-history-preview.png?fit=max\&auto=format\&n=T0wCST91hRTDusjf\&q=85\&s=2740ff6d9478ffcb5a8ef7a10e02a217)

* Components that this version **added or changed** are tinted green, and components it **removed** are tinted red.
* Pages with changes have a red dot on their page number, so you can find them quickly.
* **Show changes** goes back to the list of changes.

## Restore a version

1. Click **History** and pick the version to go back to.
2. Optionally click **Preview version** to check it.
3. Click **Restore** and confirm.

The flow goes back to how it was at that version, and the message **Restored to v…** appears. Restoring does not delete anything: the version you had before is kept in the list, so a restore can itself be undone.

> [!TIP]
>
> If you import tasks from a spreadsheet, download the import template again after a restore, so its columns match the restored fields.

## Related

* [Flow Builder](https://docsv4.mile.app/pages/workflow/flow/builder.md)
* [Mobile App Preview](https://docsv4.mile.app/pages/workflow/flow/mobile-preview.md)
* [Managing Flows](https://docsv4.mile.app/pages/workflow/flow/managing-flows.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.