Realignment Without an Outage
هذا المحتوى غير متوفر بلغتك بعد.
Module 5 of 6 in the chapter Sharing at Scale, chapter 22 of Securing Salesforce: Sharing and Visibility. Each module stands on its own.
The question this module answers: The business is reorganizing: new regions, new teams, new territories, new rules. How do you change all of it without a week of slow saves, lock errors and people seeing the wrong records?
The most demanding thing you’ll do to sharing
Section titled “The most demanding thing you’ll do to sharing”Salesforce doesn’t soften it: “The most demanding maintenance activity that customers perform is a large-scale realignment of sales teams, territories, and account assignments.” And it’s urgent: “sales realignments are very time sensitive—failing to complete them quickly can adversely affect revenue” (Tools for Large-Scale Realignments (opens in a new tab), Designing Record Access for Enterprise Scale, Salesforce Developers, checked 2026-11-26).
Modules 3 and 4 showed what each change sets off: a recalculation, a lock, a wait. A realignment is hundreds of those changes, on the same weekend, while the business wants to start selling in the new shape on Monday. Do them one by one, and every change waits for the last one’s recalculation. Chapter 8 module 4 gave the habits for big changes. This module turns them into a plan.
Change, change, change, recalculate once
Section titled “Change, change, change, recalculate once”The idea fits in one line, the way the Data Architect course puts it: change, change, change, recalculate once. Salesforce’s tool for it is deferred sharing calculations: “you can suspend sharing calculations, specifically for sharing rules and group membership, then resume calculations during an organization’s maintenance period” (Deferred Sharing Calculations (opens in a new tab), Designing Record Access for Enterprise Scale, Salesforce Developers, checked 2026-11-26).
One thing before anything else: it isn’t on. “The defer sharing calculation feature isn’t enabled by default. To enable it for your organization, contact Salesforce Customer Support” (Defer Sharing Calculations (opens in a new tab), Salesforce Help, checked 2026-11-26). Ask months ahead of the realignment, not the week of it.
The plan, in Salesforce’s order
Section titled “The plan, in Salesforce’s order”Salesforce describes how it works, step by step (Deferred Sharing Calculations). I’ve kept its order and added the architect’s step at each end.
Before the window
- Collect every change. “Based on requests from the business, a Salesforce admin identifies changes to the role hierarchy and group membership, or updates to sharing rules.”
- Negotiate the window. “Given best estimates of the remaining overall work, the admin negotiates a maintenance window for completing the processing.”
- Model it. “This window should be modeled in a full copy sandbox to get the best estimate possible,” in “a sandbox refreshed within the last 30 days that reflects all major changes.” This is where you learn how long the window really is.
- Prepare everything. “Instead of processing each separate update and waiting for it to complete, the admin prepares all the information required to perform all updates ahead of the planned maintenance window.”
- Tell the business what access will look like during the window, and when the new access arrives.
In the window
- Defer. “At the start of the maintenance window, the admin uses the deferral feature to essentially ‘turn off’ group membership or sharing rule calculations.” You can defer only sharing rules, but “if you defer group membership calculations, sharing rule calculations are automatically deferred.”
- Make every change at once. The roles, the groups, the territories, the rules, all of them.
- Resume and recalculate. “After the changes have completed, the admin resumes group membership and sharing rule calculations.” The org then needs a full recalculation of all sharing rules before everyone’s access is complete and accurate. Then “after the sharing rule recalculation has completed, all the access changes take effect.”
After the window
- Verify. Prove the new access with the evidence from chapter 13: the right people see the moved accounts, and the old team doesn’t.
What deferring doesn’t do
Section titled “What deferring doesn’t do”Read the fine print before you promise anyone a smooth weekend:
- Nothing changes for users until it’s done. “Access configuration changes don’t take effect until you resume sharing rule or group membership recalculations and recalculate sharing rules” (Defer Sharing Calculations). During the window, people see the old shape. That’s why step 5 matters.
- Some work can’t be deferred. “Deferring sharing calculations doesn’t defer the recalculation of some sharing changes in order to preserve data integrity. These calculations that can’t be suspended can take significant time to process” (same page).
- Locks still happen. “Group membership locking can also still occur while sharing calculations are deferred” (same page). Module 3’s habits still apply inside the window.
- The recalculation covers everything. “Deferring organizational maintenance requires recalculating sharing rules for all objects” (Takeaway: Making Realignment Smoother (opens in a new tab), Designing Record Access for Enterprise Scale, Salesforce Developers, checked 2026-11-26). Your sandbox timing has to include it.
- You have to turn it back on. Salesforce’s own reminder: “You must also remember to restart sharing calculations and complete a full recalculation to avoid record access inconsistencies” (Defer Sharing Calculations). Put it on the plan as a step with a name next to it.
Is it the right tool?
Section titled “Is it the right tool?”Not every reorganization needs it. Salesforce gives two tests: “the size and complexity of your realignment activities, and the flexibility you have to arrange a maintenance window.” If the business can’t give you a window, “you’re unlikely to benefit substantially from this feature.” But “if you’re able to negotiate downtime with your business customers and have been struggling to complete updates in a timely fashion, deferred sharing can be a good solution to your problem” (Deferred Sharing Calculations).
Salesforce’s own takeaway puts the choice plainly: consider whether it’s more efficient to “set aside specific maintenance windows” or “defer organizational or sharing rule maintenance while processing your updates” (Takeaway: Making Realignment Smoother). A dozen role changes on a quiet evening don’t need deferral. A year-end realignment of a thousand reps does.
Either way, the rule from the Data Architect course holds: a large security realignment deserves the same discipline as a large data migration.
Test knowledge. Know that deferred sharing calculations suspend sharing rule and group membership calculations for a realignment, are enabled by Salesforce Customer Support, and are modeled first in a full copy sandbox refreshed within 30 days; that deferring group membership also defers sharing rules; that access changes don’t take effect until calculations resume and sharing rules are fully recalculated, for all objects; that some calculations can’t be deferred and group membership locking can still occur; and that deferral suits large, complex realignments with a negotiated maintenance window. This supports IMP-1, the scalability implications of the sharing solution. A likely area, not a known question.
What an architect decides here
Section titled “What an architect decides here”- Whether the realignment is big enough for deferral, or fits in ordinary maintenance windows.
- That deferral is enabled by Support well before it’s needed.
- The full copy sandbox rehearsal: refreshed within 30 days, the whole change set, timed end to end including the full recalculation.
- The maintenance window, agreed with the business, and what users are told about access during it.
- Who turns the calculations back on, and who verifies the new access afterwards.
Beyond the exam: what AI changes. An assistant can draft the whole change set for a realignment: the role moves, the group changes, the rule edits. That’s useful. Then it goes through the same rehearsal, window and recalculation as anything a person wrote, because Salesforce does the same work either way.
Explore
Section titled “Explore”- Tools for Large-Scale Realignments (opens in a new tab), Designing Record Access for Enterprise Scale, Salesforce Developers (checked 2026-11-26)
- Deferred Sharing Calculations (opens in a new tab), Designing Record Access for Enterprise Scale, Salesforce Developers (checked 2026-11-26)
- Defer Sharing Calculations (opens in a new tab), Salesforce Help (checked 2026-11-26)
- Habits for big changes, chapter 8 module 4
- Takeaway: Making Realignment Smoother (opens in a new tab), Designing Record Access for Enterprise Scale, Salesforce Developers (checked 2026-11-26)
