Flow Version Manager

Overview

Flow Version Manager enhances the Salesforce Flow versions page by adding bulk-selection controls and a guided way to delete multiple Flow versions.

The feature is designed to make version clean-up easier and safer by allowing users to select multiple deletable versions, review them in a confirmation modal, and then process deletions using Salesforce’s native delete behaviour.

Current functionality focuses on bulk deletion support for Flow versions listed on the Setup versions page.

Flow Version Manager Disabled Row and Button

Where it appears

Flow Version Manager is intended for the Salesforce Flow details / versions page in Setup.

The implementation targets the versions table on the Flow details page and enhances it by:

The source comments describe the target as:

What the feature does

Flow Version Manager currently provides the following functionality:

  1. Detects whether the current page is likely to be a Flow versions/details page.
  2. Finds the Salesforce versions table.
  3. Injects a checkbox column into the table header.
  4. Adds row-level checkboxes for supported versions.
  5. Tracks selected versions internally.
  6. Adds a Delete Selected Versions action button to the page button bar.
  7. Prevents unsupported versions, such as active versions, from being selected for deletion.
  8. Opens a confirmation modal before deletion begins.
  9. Requires the user to type DELETE before continuing.
  10. Queues and processes deletions using Salesforce’s native delete links.
  11. Shows a completion toast after deletion is finished.

Selection behaviour

Each eligible version row receives a checkbox.

The feature keeps track of selected version rows and updates the toolbar button label dynamically, for example:

If no versions are selected, the bulk delete button remains disabled.

Active versions

The current implementation does not allow active versions to be deleted.

Rows identified as active are treated as non-deletable and their checkbox is disabled.

This is surfaced in the implementation through row state handling and the message:

Flow Version Manager Selectable Row and Button

Bulk delete action

Once one or more versions are selected, users can click Delete Selected Versions to start the bulk deletion flow.

The action is designed to keep the user in control by introducing a confirmation step before any delete actions are triggered.

Flow Version Manager Deletion Module

Confirmation modal

Before deletion begins, Flow Version Manager opens a confirmation modal.

The modal currently includes:

The warning text is intended to make users think carefully before removing versions and currently states that:

Confirmation requirement

The user must type:

DELETE

before the destructive action button is enabled.

This is intended as a deliberate safeguard against accidental bulk deletion.

Screenshot placeholder: Add a screenshot here showing the confirmation modal with the version list and DELETE confirmation input.
Suggested file: /images/flow-version-manager/flow-version-manager-confirmation-modal.png

How deletion works

Once confirmed, the feature prepares a session-based deletion queue and then proceeds through the selected versions one by one.

The current implementation:

This approach allows the feature to work with Salesforce’s existing delete behaviour rather than replacing it with a custom deletion mechanism.

User feedback

Flow Version Manager provides several forms of user feedback.

Button state

The bulk delete button is enabled or disabled depending on:

The destructive confirm button remains disabled until the user types DELETE exactly.

Toast notifications

After queued deletion completes, the feature displays a toast such as:

If the deletion queue fails to start or resume, the feature attempts to show an error toast.

How to use it

  1. Open a Flow details page that includes the versions table.
  2. Review the available versions.
  3. Select one or more deletable versions using the added checkboxes.
  4. Click Delete Selected Versions.
  5. Review the list of selected versions in the modal.
  6. Type DELETE to confirm.
  7. Allow the queued deletion process to complete.
  8. Review the completion toast once the operation finishes.

Safeguards and risk notes

Current safeguards include:

Even with these safeguards, deleting Flow versions is still a destructive action and should be treated carefully.

Notes and limitations

Current implementation notes:

Accessibility and usability notes

The current implementation includes: