> ## 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 task type, preview an earlier version and restore it.

Every save of a task type 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
</Note>

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

<div align="center">
  <img src="https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/task-type-history.png?fit=max&auto=format&n=Zv-R0yz4NrNyQHzp&q=85&s=a353075efb6850e349610140681cbe20" alt="History" width="600" data-path="images/v4/workflow/task-type-history.png" />
</div>

1. **Version list**: every version, newest first. Each row shows the version number (**v3**, **v2**, …, with **Created** for the first one), what happened (**Task type created**, **Task type updated**, **Task type restored** or **Task type 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 this version**: show the version in the mobile app preview.
4. **Restore**: bring the task type back to this version. The first (**Created**) version and the version that is already current have no Restore.

## Preview a version

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

<div align="center">
  <img src="https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/task-type-history-preview.png?fit=max&auto=format&n=Zv-R0yz4NrNyQHzp&q=85&s=89e08474280bed7f8e6f006a2dde1b7a" alt="Preview a version" width="600" data-path="images/v4/workflow/task-type-history-preview.png" />
</div>

* 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 what changed** 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 this version** to check it.
3. Click **Restore** and confirm.

The task type 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.
</Tip>

## Related

* [Task Type Builder](/pages/workflow/task-type/builder)
* [Mobile App Preview](/pages/workflow/task-type/mobile-preview)
* [Managing Task Types](/pages/workflow/task-type/managing-task-types)


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