Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Automate Your Business Processes with Salesforce Flow
View and Restore Flow Version Edit History

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

Available in: Lightning Experience
View supported editions.

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 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
    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
    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

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.

 
Loading
Salesforce Help | Article