---
schema_version: "1"
id: 220965ba9746e97fa9ecabd603e283070b25d04189eac8d3c2220d446701bb31
title: View and Restore Flow Version Edit History
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_edit_history.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_edit_history.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4034b937dcf0dff1d21ff6560dc9f9dcd6c103fc4a33fc1e2253509b3cab174b
description: Review a history of saves for the current flow version and restore the flow to an earlier save. Each time you save a flow, a save instance is added to the version edit history. Save instances show the date, the user who saved the flow, and a summary of elements added, edited, or deleted.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# View and Restore Flow Version Edit History

Review a history of saves for the current flow version and restore the flow to an earlier save. Each time you save a flow, a save instance is added to the version edit history. Save instances show the date, the user who saved the flow, and a summary of elements added, edited, or deleted.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

Save your flow at least once to create a save instance.

Edit History is available for automation event-triggered, audience (segment, list, record query, and campaign), activation-triggered, and on-demand flows. It isn't available for screen flows, record-triggered flows, or orchestrations.

1. In Flow Builder, click **Edit History** ![Edit history icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/flow/automate_flow_edit_history_icon.png) in the toolbar.
    
    If the flow has unsaved changes, the This Flow Has Unsaved Changes modal appears. Click **Save and View Edit History** to save the flow and open the edit history panel, or click **Cancel** to return to the flow and review your changes first.
    
    The Flow Version Edit History panel opens. The canvas switches to read-only mode.
2. In the Flow Version Edit History panel, review the list of save instances.
    
    Each instance shows the date it was created and the name of the user who saved the flow.
3. Click a save instance to preview the flow state at that point.
    
    - You view the flow as it was when that save occurred.
    - The save instance card shows a summary of elements added, edited, or deleted compared to the previous save instance.
    - To see which elements changed, expand **Details**. Click an element name to see its change details.
4. To restore the flow to a save instance, click **Restore** on the save instance card.
    
    - Restoring switches the flow back to edit mode with the state from the selected save instance.
    - You can then continue editing from that restored state.
    - Click Save to keep the restored state.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    Note The edit history is specific to the current flow version. If you create a new version, the edit history doesn't carry over.
5. To create a new flow version or flow from a save instance, select **Save as New Version** or **Save as New Flow** on the save instance card.
    
    - **Save as New Version** restores the save instance as a new version of the current flow.
    - **Save as New Flow** copies the save instance's logic into a new flow.
6. To exit Edit History without taking action, click **Exit Edit History**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    Note You can't edit the flow while viewing edit history.

To keep specific logic, use **Save as New Version** to preserve it as a flow version. To reuse flow logic elsewhere, use **Save as New Flow** to create a copy.

- **[Flow Edit History: Save Instance Retention and Limits](https://help.salesforce.com/s/articleView?id=platform.flow_edit_history.htm&release=264.0.0&type=5)**  
    Understand how many save instances Edit History keeps for a flow version and how long it keeps them.

## Flow Edit History: Save Instance Retention and Limits

Understand how many save instances Edit History keeps for a flow version and how long it keeps them.

### Save Limits

Edit History keeps a minimum of your last 5 saves and a maximum of 100 saves, for each flow version.

### Retention Period

Saves are kept for 1 year. After that, saves can be removed to manage storage.

### Active Flow Versions

If you save a flow version within the last 180 days, all of that version's saves are kept, even older ones. You don't lose save history while you're still building.

### Automatic Cleanup

Once a week, the system automatically removes saves that are older than 1 year or that belong to a flow version you haven't saved in over 180 days. This cleanup happens automatically. You don't need to do anything.