A rollback criteria list sets out the conditions that trigger a reversal of a production deployment, the people who make that call, and the steps that return the org to its prior state. Agree on it before the release window opens, and rehearse the path in a copy of production.
What the rollback criteria document needs to contain
Start with a short document a release manager can read in two minutes. It should name the release, list each component being deployed, and record a baseline: the state of each component in production immediately before the deployment starts. That baseline is the target of any rollback. Without it, reversing the release becomes a guess about which version was live.
Add a line for the release owner, the business approver, the technical executor and the person on call during the window. Then record the checkpoint times. A decision made at a fixed checkpoint, against a written trigger list, tends to be better than one made late in the window, when the team is tired and invested in the fixes already under way. Keep the document somewhere everyone on the release can open quickly, because nobody should be hunting for it during an incident.
Setting the triggers that call for a rollback
A trigger is an observable condition that moves the team from discussing the release to reversing it. Write each one so that two people reading it reach the same answer. “The release feels unstable” fails that test. “Order submission fails for more than one user role in the first verification run” passes it.
Write each trigger with four parts:
- what is observed, in plain terms
- where it is observed, such as a process, a report, an integration log or a user group
- the threshold that makes it a trigger, set from your pre-release baseline
- who verifies the observation, so the decision does not rest on one person’s impression
Blocking defects in core processes
Name the business processes the release must not break, such as lead conversion, quote approval or case closure. A defect that stops one of these from completing is a trigger, not a backlog item. The exception is a workaround that the business approver accepts in writing before the checkpoint.
Data and integration signals
Data problems often show up after functional ones. Watch for records saved with blank or wrong values, duplicate records created by a new automation, and integration messages that fail or retry in a loop. A single bad record may be a data quality issue. A steady rise across a batch, or a retry loop that keeps growing, is a trigger.
Performance and access thresholds
Set a processing-time threshold for the flows users rely on, using timings you recorded before the release rather than a figure copied from another org. Treat access regressions as triggers too. If a group of users can no longer see records they could see before the release, that is a defect in the release. When a slowdown points at a platform limit rather than a bug, the guidance on governor limits for admins helps you tell the two apart before you decide.
Assigning who decides and who carries out the rollback
The decision and the execution are separate jobs. The person who decides needs the authority to stop the release and the information to judge the triggers. The person who executes needs the access and the runbook to reverse the components. Name both, and confirm that the executor can perform each step in production before the window opens. Discovering a missing login at the start of an incident uses up the time you planned for the fix.
- Release owner: holds the trigger list, calls each checkpoint and makes the final go or no-go decision.
- Business approver: accepts or rejects any workaround for a defect that is not a blocking trigger, in writing.
- Technical executor: runs the rollback runbook and records the time each step finishes.
- Verifier: runs the post-rollback checks from the same list used before the release and signs off the result.
Mapping a rollback path for each kind of change
Not every change reverses the same way. Configuration and code components can usually return to their baseline version by deploying the previous package or metadata set, as long as you kept that package. Data changes are different. Once a script has transformed records, or users have created records under the new design, redeploying the old components does not restore the data.
Before the window, sort the release into three groups: components that redeploy cleanly to the earlier version, data changes that need a reverse script or a backup, and changes that cannot be reversed and must be corrected forward. Each group gets its own steps. Teams often forget the third group, so ask about it directly during release review.
Write the rollback path for each group as numbered steps that include:
- the artifact to deploy back, with its location and version
- the order of reversal, since a component that another component depends on usually has to be reversed last
- the data state you expect to see after each step
- the check that proves the step worked before the next one starts
Rehearsing the rollback in a copy of production before the window
A rollback you have not run is a plan on paper. Rehearse the full path in a sandbox refreshed from production close to the release date, so the rehearsal reflects current configuration and data. Work out in advance which parts of the copy differ from production, such as data volume, connected systems and scheduled jobs, and write those gaps down so you know which results to trust. Plan the refresh timing with sandbox refresh planning in mind, so the copy is not stale when the rehearsal starts.
During the rehearsal, time each step, note which steps needed a second person, and record each point where the runbook was unclear. Run the post-rollback checks too. A rollback that completes but leaves a report broken or a scheduled job failing has not finished. Behavior can differ between releases and between org setups, so confirm each step in your own org rather than relying on a general description of how it works.
For help planning this work, see Salesforce implementation.
Reporting and communicating during a rollback
Decide before the window who tells users, who tells the business and which channel each message uses. Draft two short messages in advance. The first says the release is being reverted and tells users what to do with work they started during the window. The second confirms that the environment is back at its baseline. Leave blanks for times and reasons, and fill them only from the decision log.
Keep a timestamped decision log. Each entry should record the time, what was observed, which trigger it matched, who made the call and what action followed. That log answers the question of why the release was reversed, and it is the starting point for the review afterwards.
Troubleshooting a rollback that stops partway
A rollback can fail in the middle. A deployment step may return an error, a dependent component may still hold a reference, or a data script may stop at a record it cannot change. Stop at the last confirmed good state instead of running the next step in the hope it will repair the one before it. Record the exact error text and the component name. Then decide with the release owner whether to retry the failed step, apply a targeted correction, or hold the environment as it is while you investigate.
Reviewing access and validation changes separately
Access and validation changes are a common source of rollback problems. A permission change reversed in the wrong order can lock a team out of a process it needs, so review the access model before you finalize the rollback path. Planning for that kind of change is covered in permission set design for small teams.
Validation rule changes need the same care. If a rule is turned back on while an integration is still sending data, the integration can fail in ways the business notices later. Check what each connected system expects before you reverse a rule. The overlap between validation logic and integrations is covered in validation rules without breaking integrations.
Questions about timing, scope and sign-off during a rollback
How long should the rollback window be?
Start from the rehearsal timings rather than from a number in a template. Add time for the verification checks and the decision meeting, then add a margin for one failed step. If the total runs past the point where users can no longer work normally, move the checkpoint earlier or reduce the release scope.
When is fixing forward the better choice?
Fix forward when the defect sits in one component, the correction is small and has been exercised in the rehearsal copy, and reversing the whole release would cost more than leaving it in place for a short period. Record that reasoning in the decision log whichever way you go.
What happens to records users create during the release?
Settle this before the window opens. Records created under the new design may need to be kept, migrated back or held for review, depending on whether the earlier design can still read them. The steps for that group belong in the runbook, not in someone’s memory.
Does a small configuration change need a rollback plan?
Yes, though it can be shorter. A change to a label or a page arrangement still needs a recorded baseline and a tested way back. Small configuration changes are often the ones teams skip writing down, and that is where surprises that take a long time to trace tend to come from.