Retiring an older flow version is a controlled change, not a cleanup task. Deactivate the old version once three things are true: the replacement has been tested against the same business path, no running or paused interview still depends on the old logic, and a named owner has approved the date. Record each check and approver.
Why retiring a flow version needs a routine of its own
Flows tend to collect versions over the life of a process. An admin edits the logic to fix a field mapping, a second admin adds a branch for a new region, and the earlier version keeps existing because nobody owns the decision to remove it. Without a routine, retirement becomes a judgment call made under deadline pressure, usually by whoever happens to notice the clutter first.
A routine changes the question. Instead of asking whether an old version can be switched off, the team works through the same short list each time: what the trigger was, what has to be checked, who signs off, and how the team will recognize a problem after the change.
Setting the trigger for starting a retirement review
A retirement review should begin from a stated reason, not from a feeling that the flow looks untidy. Common triggers include a replacement version that has passed sandbox testing, a business rule change that makes the old logic incorrect, or a defect in the old version that the new one fixes. Write the trigger into the change record so the reason is still visible months later.
Before the review starts, confirm the basics:
- The replacement version exists, is saved, and has a written test script that covers the business path the old version served.
- The business owner has read the new logic in plain terms and agrees that it matches the current rule.
- No open defect links the new version to a known gap in the process.
- A target date has been agreed with the teams that use the process.
If any of these is missing, the review should pause at this step. A retirement scheduled before the replacement is proven can turn into a support case, and that case often reaches an admin who was not part of the decision.
Confirming no running interview depends on the old version
The main check is whether work already in progress still relies on the version you plan to deactivate. Runs that are active or paused when the change takes effect need to be identified before the target date, because how each one is handled depends on how the flow was built. Do not assume the answer. Confirm it in your own sandbox with a run that starts on the old version and is paused before you deactivate.
Finding in-progress and paused runs
Start with an inventory of runs by flow and version, taken from whatever reporting your org has for them. Cover a window that matches the longest normal wait in the process, since a run that waits on an approval, a scheduled step or an external response can sit for days or weeks. Pass the list of affected records to the process owner so they can decide, record by record, whether each one should finish on the old logic, restart on the new one, or be completed by hand.
Checking for callers outside the flow
A flow can be started from more places than the one the admin has in mind. Check for other flows that call it as a subflow, for buttons, quick actions or page layouts that launch it, for scheduled jobs, and for any external system that triggers it. Each caller should be listed against the version it uses. If a caller refers to the flow in a way that follows whichever version is active, retiring the old version may change that caller’s behavior without any edit on the caller’s side, so test that caller directly.
Where an external system starts the flow, the dependency sits in the integration design rather than inside the org. Review it alongside the integration architecture so the team that owns the connection knows the date and the version change before it happens.
Testing the replacement before the retirement date
Testing the replacement is a separate step from checking dependencies. The test script should replay the business path from the start of the process to its final state, including the branches that rarely run, such as the error path and the case where a required field is blank. Compare the outcome of each test with the outcome the old version produced for the same input. Where the two differ, the difference should be explained and approved, not patched over.
Read the release notes for the org’s current release before you schedule the sandbox run, and note any change that could affect the flow elements in use. The steps for that review are set out in reviewing release notes ahead of sandbox testing, which puts those checks in the right order. Keep the test results in the change record together with the date of the sandbox refresh they ran against, because a result from an older sandbox says little about production.
Signing off the retirement and recording the decision
Sign-off works best as a short sequence with one owner for each step. Assign these roles in the change record before the review begins:
- The requester states the trigger and the target date.
- The business owner confirms that the replacement matches the rule the process must follow.
- The admin lists the dependencies found in the run and caller checks and states how each one will be handled.
- A second admin reviews the sandbox results and the caller list, since the person who built the replacement is often the one least placed to spot a gap in it.
- The approver records the decision, the date, and any runs or callers that will be handled by hand.
If the replacement also changes a record type, validation rule or field that the flow reads, that part belongs to configuration and customization work and should be approved in the same review.
Keep the signed record with the flow’s change history. A record that names the version retired, the version now in use, the approvers and the date gives the next admin context that is easy to lose once the people involved have moved on.
For help planning this work, see Salesforce implementation.
Watching for failures after deactivation and keeping a fallback
Deactivation does not end the routine. Plan a watch period long enough to cover the longest normal cycle of the process, and use that window to review failed runs, error notifications and support cases that mention the flow. Set the length of the watch period in the change record and name the person who reads the failures each day.
Keep a fallback in place for the watch period. In practice that means the previous logic stays recoverable, with written steps to restore it and a named person to carry them out. Test those steps in the sandbox before the retirement date so they are not being tried for the first time during an incident.
When a failure is reported, first decide where it comes from: the new logic, a caller that changed, or data the process was not built to handle. A structured triage of the report, such as the approach in how support analysts triage a failed automation, keeps that decision from being made on instinct and gives the next person a record of what was checked.
Questions admin teams raise about retiring flow versions
How long should the watch period last after an older version is deactivated?
There is no single length. Base it on the longest normal cycle of the process, such as a month-end run, a renewal cycle or an approval chain that can stay open for several weeks. Write the length into the change record before the change.
Who decides when the builder and the business owner disagree about the replacement?
The business owner decides whether the new logic is correct, and the admin decides whether the change is safe to make in the org. When they disagree, the change waits. Escalate to whoever owns the process, and record the disagreement and its outcome in the change record so the same argument does not come back at the next retirement.
Can we delete an old version instead of deactivating it?
The routine on this page is written around deactivation. Whether your org can remove a version outright is a question to settle in a sandbox before you write it into your process. Any removal should come after the watch period has passed and the team has agreed that the old logic is no longer needed for audit or reference.
What should we do if a run was paused on the old version before the change?
Use the list from the dependency check. The process owner decides whether that run finishes on the old logic, restarts on the new logic, or is completed by hand. Record the decision against the record involved so the handling can be traced later.
How many checks are enough for a small flow?
A small flow still needs a trigger, a sandbox replay, a caller check and a named approver. For a small flow each of these can be short: one test script, a one-line dependency note and one approver. Skipping a check because a flow looks small tends to produce the incidents nobody expected.