A dry run is a rehearsal of a Salesforce release in a sandbox that resembles production closely enough to expose metadata dependencies before the real window. Use this checklist to package the change, rehearse it, log each failure, and make the go or no-go call. Treat each error as a finding to close.
What a dry run can and cannot show
A dry run tests the deployment path and the metadata it carries. It shows whether the package installs, which components fail, and which references break once the change lands in an org that already holds the rest of your configuration. It does not show how real users will behave, how production data volumes will perform, or whether a connected system will accept new traffic. Write those limits into the readiness note so a clean rehearsal is not read as full sign-off.
Set the scope before the first run. Name the release items, the target environment, the owner of each item, and the time box for the rehearsal. A rehearsal with a vague scope tends to become an open-ended debugging session, and the team learns less from it than it should.
Assign roles and communication before the rehearsal
A rehearsal needs a release lead who owns the schedule, a technical lead who runs the deployment, a tester for each affected role, and an integration owner for any connected system.
Agree on one channel for rehearsal updates and one place for the failure log. If part of the release runs through an outside delivery group, the dedicated Salesforce delivery teams page is a useful reference for settling who owns each step before the work starts.
Freeze the package and confirm the source of truth
Freeze the package before the first rehearsal. Any edit after the freeze means the rehearsal tested something you will not deploy, so record the package version, the build date, and the person who approved the freeze. Compare the package with the source control state you plan to deploy from. Flag any component that was edited by hand in an environment rather than tracked through source, because those edits often go missing from a package.
Check the target environment
Confirm that the sandbox is the type you planned to use and that its copy is recent enough to reflect the configuration you expect in production. Record the refresh date in the log. Check which sandbox types your org can use and how current each one is before you book the window, since the options depend on your org, edition and release.
Record a baseline before deploying
Capture the state of the environment before anything changes: the active users in the affected profiles and permission groups, the active flows and triggers, the scheduled jobs, and the integration user accounts. Save the list. You will compare against it after the rehearsal, and a difference such as a scheduled job that was paused or an integration user that lost a permission is easy to miss without a written starting point.
Run the deployment in the same order as production
Use the production runbook as written. Keep the same order, the same validation step, and the same post-deployment checks you plan to use in production. A rehearsal that changes the sequence produces a result you cannot carry forward. Time each step and note who ran it.
- Validate the package against the rehearsal environment and save the output.
- Deploy the approved components, listing any removals so they can be reviewed on their own.
- Run the post-deployment checks in the order the runbook lists them.
- Activate the components the runbook says to activate, and record the status of each one.
- Record elapsed time for each step against the planned window.
Keep a failure log with one row per error. Include the component name, the step, the exact error text, the time, and whether the error blocked the run. Copy the error text rather than summarizing it. A paraphrased error makes the fix harder to verify, and it makes the problem harder for the next person to recognize in a later rehearsal.
Check metadata dependencies, triggers and integration calls
Some failed rehearsals trace back to a reference that exists in the source environment and is missing in the target. Typical examples include a field used by a page layout or report that was left out of the package, a validation rule that points at a value not yet deployed, or a code path that assumes a record shape the rehearsal data does not contain. Walk the dependency list for each changed component and mark it as included, already present in the target, or intentionally excluded.
Triggers need their own review. Run the rehearsal with a batch of records large enough to exercise the bulk path, not a single record created by hand. If the release adds automation to an object that already has automation, write down the order you expect the pieces to run and compare it with the debug output. The bulk-safe trigger checklist is a useful list of code patterns to review before this step.
For integrations, make a real call to each endpoint the release changes, using the integration user that production will use. Count the calls the release adds per transaction and per day, and compare that figure with the budget your integration team agreed. The API call budget checklist is a useful guide for building that count before the rehearsal starts.
Verify access, data and key processes after the rehearsal
Check access before anything else. Sign in as a user from each affected profile or permission group. Confirm that the fields, objects and tabs they need are visible and editable, and that the fields they should not see are hidden. Access defects are easy to catch in a rehearsal. In production they tend to surface later as support requests.
Permission set changes deserve a diff. Compare the permission sets in the target with your written design, and check any object or field that moved from one permission set to another. If the permission model is not written down yet, the permission set design for small teams page is a useful guide for structuring one before you compare anything.
Finish with a short script of the processes the release changes. For each affected object, create, edit, approve and close a record using the role that owns that step. Keep the script short enough to finish inside the window and specific enough that a tester can tell pass from fail without asking the author.
Set the go or no-go criteria and the back-out plan
Write the go or no-go criteria before the final rehearsal ends, not during the review. Decide in advance which defects block the window. A defect in a rarely used report may be acceptable with a documented workaround. A defect that stops record saves for a main role is not. Write the rule down before you see the list, because schedule pressure tends to change how people judge defects as the window gets close. A typical set of criteria includes:
- No blocking errors in the final rehearsal run.
- Each open defect has an owner and a target date.
- Access checks pass for each affected profile or permission group.
- Integration call counts stay inside the agreed budget.
- The process script passes for each affected object.
Attach the back-out plan to the same review. It should name the components that can be removed or reverted, the person who authorizes a reversal, and the checks that show the environment is back to its baseline. If a component cannot be reverted cleanly, record that in the readiness note and decide whether the window still makes sense.
When the review is complete, schedule the production window and send the final runbook to everyone who has a step in it. Attach the rehearsal log so the production team sees the same errors you saw. For help planning this work, see Salesforce implementation.
Questions about planning dry runs for Salesforce releases
How many dry runs should a team schedule before a production window?
The count depends on how many components the release changes and how many failed the first time. A small change that validates cleanly may need one full rehearsal and a short repeat of the failed steps. A release that touches permissions and integrations together usually needs a rehearsal after the fixes are in, so the last run tests the package you will actually deploy.
Who should attend the review meeting?
Invite the release lead, the technical lead, a tester for each affected role, the integration owner, and the person who makes the production decision. Keep the group small enough that each person can speak to their own area.
What if the dry run passes but production still fails?
A clean rehearsal lowers the risk without removing it. The usual causes are differences in data, users, scheduled jobs, or the state of a connected system that the sandbox did not reproduce. When production fails after a clean run, compare the baseline you saved before the rehearsal with the production state, and add each difference to the checklist for the next release.
Should the rehearsal use test data or a copy of production data?
Use a copy of production wherever your sandbox type and your data rules allow it, and mask personal data as your policy requires. Generated records suit checking the flow of new logic, but they will not reveal problems caused by old records or unusual values. Many teams use both: a copy for deployment and repair checks, and generated records for the scenarios the release creates.
How should a rollback be rehearsed?
After a successful deployment in the sandbox, run the back-out steps in the revert order from the plan. Time the reversal and compare the environment with the baseline you recorded before the rehearsal. A reversal that works but leaves a dependent component in a broken state counts as a failed back-out, and it goes into the failure log the same way a deployment error does.