Org drift is the gradual divergence between Salesforce environments that are supposed to match: a sandbox that no longer reflects production, production changes made directly instead of through a release, or two orgs in a merge that define the same object differently. Org comparison finds exactly which assets differ, which exist on only one side, and which elements changed, so teams can decide what to synchronize before a deployment, a merge, or a sandbox refresh.
Common Causes of Drift
- Direct changes in production that never went through a sandbox.
- Old sandboxes that were not refreshed after many releases.
- Parallel projects that changed the same assets in different environments.
- Salesforce releases and package upgrades that reach orgs at different times.
How to Approach a Comparison
- Capture both orgs with the same scope. Comparing different scopes produces false "missing" results.
- Compare by type. Separate identical, similar, different, and missing assets, and compare child assets such as fields and validation rules separately from their objects.
- Exclude noise. Leave out elements that always differ between orgs and do not matter for the decision.
- Review element-level differences for the assets that matter.
- Synchronize deliberately. Move the differences you want, then compare again.
How Snapshot Helps
- Metadata Differences Report: compares source and destination snapshots between orgs or within one org over time. Results show Identical Assets, Similar Assets, Different Assets, Missing Source, and Missing Destination, with modification users and dates for both sides. Fields, record types, and validation rules are compared separately from parent objects. Trim Elements and Remove Selected Elements exclude elements from comparison, and Export Differences saves a difference file for each changed asset. Schedule Report can alert only when missing or different assets appear.
- Compare Assets, Profiles, and Permission Sets: reviews XML side by side and moves whole assets or individual differences between snapshots before deployment.
- Manage Time Series: compares saved snapshots of the same org to see what changed between two dates.
Results reflect captured definitions and comparison exclusions, not live changes made after the snapshots were taken.
Common Questions
How do I find what is different between a sandbox and production?
Capture both orgs with the same scope and compare them type by type, reviewing assets that differ or exist on only one side.
Why does a comparison show assets as missing that do exist?
The two captures probably used different scopes, or one capture is older. Recapture both sides with the same selection.
Should I refresh the sandbox or deploy the differences?
Refreshing replaces the sandbox with a copy of production and discards sandbox work. Deploying differences keeps work in progress. Compare first, then decide.