Territory Management Architecture
Sales Territories (formerly Enterprise Territory Management) provides a parallel access model to the role hierarchy, enabling account-based territory assignments that drive both sharing and forecasting. At the CTA level, understanding the architecture in depth (object model, hierarchy design, sharing interaction, and scaling limits) separates a passing answer from a failing one.
Architecture Overview
Section titled “Architecture Overview”Sales Territories introduces a territory hierarchy that operates independently of, and in parallel with, the role hierarchy. Users can belong to multiple territories (unlike roles, which are one-per-user), and accounts can be assigned to multiple territories simultaneously.
Territory2 Object Model
Section titled “Territory2 Object Model”The data model centers on six core objects. Understanding their relationships is required for CTA-level territory design.
Object Reference
Section titled “Object Reference”| Object | Purpose | Key Fields |
|---|---|---|
| Territory2Model | Top-level container; represents the entire territory structure | Name, State (Planning/Active/Archived), ActivatedDate |
| Territory2 | Individual territory node in the hierarchy | Name, Territory2ModelId, Territory2TypeId, ParentTerritory2Id, ForecastUserId |
| Territory2Type | Classification label for territories (not hierarchical) | Name, Priority, Description |
| UserTerritory2Association | Junction: assigns a user to a territory | Territory2Id, UserId, IsActive, RoleInTerritory2 |
| ObjectTerritory2Association | Junction: assigns a record (Account, Lead, or Case) to a territory | Territory2Id, ObjectId, AssociationCause (Rule/Manual/Owner) |
| ObjectTerritory2AssignmentRule | Rule definition for auto-assigning records | Territory2ModelId, BooleanFilter, IsActive, IsInherited |
| ObjectTerritory2AssignmentRuleItem | Individual criterion within a rule | RuleId, Field, Operation, Value |
| RuleTerritory2Association | Maps a rule to the territories it assigns into | RuleId, Territory2Id, IsInherited |
Territory Hierarchy Design Patterns
Section titled “Territory Hierarchy Design Patterns”Pattern 1: Geographic
Section titled “Pattern 1: Geographic”Best for field sales organizations where territory boundaries align to regions.
Pattern 2: Named Account / Segment
Section titled “Pattern 2: Named Account / Segment”Best for organizations where strategic accounts are carved out regardless of geography.
Pattern 3: Hybrid (Most Common in CTA Scenarios)
Section titled “Pattern 3: Hybrid (Most Common in CTA Scenarios)”Combines geographic and named-account patterns using Territory2Types.
| Territory2Type | Priority | Assignment Logic | Example |
|---|---|---|---|
| Named Account | 1 (highest) | Manual assignment; specific reps own named accounts | ”Acme Corp” always goes to Rep A |
| Industry Vertical | 2 | Criteria-based: Industry = 'Healthcare' | All healthcare accounts to vertical team |
| Geographic | 3 (lowest) | Criteria-based: BillingState IN (...) | Catch-all by region |
Assignment Rules
Section titled “Assignment Rules”Assignment rules automate account-to-territory placement based on field criteria. Rules are defined at the model level and mapped to specific territories.
How Assignment Rules Work
Section titled “How Assignment Rules Work”- Rules are created with up to 10 filter criteria fields per rule
- Each rule is associated with one or more territories via
RuleTerritory2Association - Rules can be inherited by child territories (set
IsInherited = true) - When rules run, matching accounts get
ObjectTerritory2Associationrecords withAssociationCause = 'Rule' - Manually assigned accounts (
AssociationCause = 'Manual') are not overwritten by rules
Assignment Rule Evaluation
Section titled “Assignment Rule Evaluation”| Aspect | Behavior |
|---|---|
| Trigger | Run manually from Setup, or on account create/update if configured |
| Criteria fields | Up to 10 per rule; use formula fields to combine criteria if more needed |
| Boolean filter | Supports AND/OR logic between criteria items |
| Inheritance | Parent rules can cascade to child territories automatically |
| Evaluation order | Child territories evaluated before parents in the hierarchy |
| Conflict resolution | An account can match multiple rules and belong to multiple territories; this is by design |
Rule vs Manual Assignment
Section titled “Rule vs Manual Assignment”| Method | When to Use | Survives Rule Re-run? |
|---|---|---|
| Rule-based | Accounts follow predictable patterns (geography, revenue, industry) | Recalculated on each run |
| Manual | Strategic/named accounts that must stay with specific reps | Yes; manual assignments persist |
| API-based | Bulk loading territory assignments from external systems (e.g., HR/comp systems) | Depends on AssociationCause |
Territory-Based Sharing
Section titled “Territory-Based Sharing”Territory membership grants record access through the sharing engine. This operates in parallel with, and additive to, OWD, role hierarchy, and sharing rules.
How Territory Sharing Works
Section titled “How Territory Sharing Works”- A user is assigned to a territory via
UserTerritory2Association - An account is assigned to the same territory via
ObjectTerritory2Association - The user gains access to the account at the level defined in Territory Settings (View Only or View and Edit)
- Access is inherited upward in the territory hierarchy; users in parent territories see accounts in child territories
Territory Access Levels
Section titled “Territory Access Levels”| Setting | Users See | Users Edit | Configured In |
|---|---|---|---|
| View Only | All accounts in their territory + child territories | Only own records | Territory Settings (per object) |
| View and Edit | All accounts in their territory + child territories | All accounts in their territory + child territories | Territory Settings (per object) |
Interaction with Other Sharing Mechanisms
Section titled “Interaction with Other Sharing Mechanisms”Territory Management vs Role Hierarchy
Section titled “Territory Management vs Role Hierarchy”This is a core CTA architectural decision. They are complementary, not competing mechanisms.
Detailed Comparison
Section titled “Detailed Comparison”| Dimension | Role Hierarchy | Territory Management |
|---|---|---|
| Primary purpose | Management visibility; approval routing | Sales territory alignment; account coverage |
| Users per group | One role per user | Multiple territories per user |
| Records per group | Record ownership (1 owner) | Multiple territories per account |
| Hierarchy depth | Keep to 5-7 levels for performance | Flexible; depth limited by territory count |
| Sharing direction | Upward (managers see subordinate records) | Upward (parent territory sees child accounts) |
| Forecasting | Standard role-based forecasting | Territory-based forecasting (independent) |
| Assignment method | Manual (user profile) | Rules-based + manual |
| Coexistence | Always present | Optional; runs alongside role hierarchy |
| Performance cost | Standard sharing calculation | Additional sharing groups + calculations |
| Reporting | Standard report types | Territory-specific report types |
Decision Guide: When to Use Each
Section titled “Decision Guide: When to Use Each”| Signal in CTA Scenario | Recommendation |
|---|---|
| ”Sales reps cover multiple regions” | Territory Management; users need multiple territory assignments |
| ”Accounts should be visible to all reps in a region” | Territory Management; territory-based sharing |
| ”Forecast by territory, not manager” | Territory Management; territory forecasting |
| ”Simple reporting structure, one manager per team” | Role hierarchy alone is sufficient |
| ”Matrix organization with dual reporting” | Territory Management supplements the flat role hierarchy |
| ”Overlapping sales coverage (overlay reps)“ | Territory Management; accounts in multiple territories |
| ”Account assignment changes frequently by geography” | Territory Management; assignment rules automate realignment |
Model Lifecycle
Section titled “Model Lifecycle”Territory models move through three states. Only one model can be Active at a time.
| State | Purpose | What Happens | Can Edit? |
|---|---|---|---|
| Planning | Build and test the territory structure | No sharing rules applied; no account access granted | Yes, full editing |
| Active | Live model driving sharing and forecasting | Sharing groups created; territory access enforced; forecast enabled | Yes; changes apply immediately |
| Archived | Preserved for reference; no longer driving access | All sharing from this model removed; territory data preserved | No, read only |
Model Limits by Edition
Section titled “Model Limits by Edition”| Edition | Max Models (Total) | Max Active Models | Max Territories |
|---|---|---|---|
| Enterprise | 2 | 1 | 1,000 |
| Developer / Performance / Unlimited | 4 | 1 | 1,000 default (expandable to 20,000 via Support, up to 99,999 with special approval) |
Activation and Transition Flow
Section titled “Activation and Transition Flow”Territory Forecasting Integration
Section titled “Territory Forecasting Integration”Territory-based forecasting runs independently of role-hierarchy-based forecasting and uses the territory hierarchy to roll up opportunity amounts.
| Aspect | Role-Based Forecast | Territory-Based Forecast |
|---|---|---|
| Hierarchy used | Role hierarchy | Territory hierarchy |
| Forecast manager | User’s manager in role hierarchy | Territory2.ForecastUserId per territory |
| Opportunity rollup | By opportunity owner’s role | By account’s territory assignment |
| Multi-territory accounts | N/A | Opportunity rolls up to one territory only (based on Territory2Type.Priority) |
| Requires | Collaborative Forecasting enabled | Sales Territories enabled + Collaborative Forecasting |
CTA Scenario Patterns
Section titled “CTA Scenario Patterns”Scenario 1: Multi-Region Sales Organization
Section titled “Scenario 1: Multi-Region Sales Organization”Situation: A company has 500 sales reps across North America, EMEA, and APAC. Reps cover geographic regions, but 30 strategic account managers cover named accounts globally. Forecasting must reflect territory performance, not individual rep performance.
Architecture:
- Territory model with two
Territory2Types: “Named Account” (Priority 1) and “Geographic” (Priority 2) - Geographic hierarchy: Global > Region > Country > State/Province
- Named accounts manually assigned to Strategic Account territories
- All other accounts auto-assigned via rules using
BillingCountry+BillingState - Territory-based forecasting with forecast managers at the region level
- Role hierarchy kept flat (3 levels) for management approval routing only
Scenario 2: Overlay Sales Model
Section titled “Scenario 2: Overlay Sales Model”Situation: A SaaS company has both direct reps and product specialist overlays. The same account may need visibility from the regional rep, the product specialist, and the strategic account manager.
Architecture:
- Account assigned to multiple territories simultaneously (this is the key differentiator vs role hierarchy)
- Territory types: “Direct Sales” (Priority 1), “Product Overlay” (Priority 2), “Service” (Priority 3)
- Direct reps get View and Edit; overlay reps get View Only
- Opportunity forecast rolls up through the Direct Sales territory (Priority 1)
- Role hierarchy handles management visibility for each team independently
Scenario 3: Multi-BU Organization with Shared Accounts
Section titled “Scenario 3: Multi-BU Organization with Shared Accounts”Situation: A conglomerate has three business units sharing one Salesforce org. Each BU has its own sales team but some enterprise accounts buy from multiple BUs.
Architecture:
- Single territory model with BU-level top territories (BU1, BU2, BU3)
- Each BU branch has its own geographic sub-territories
- Shared accounts assigned to territories in each relevant BU
- Territory type priorities set so each BU’s forecast is independent
- Consider supplementing with Account Teams for cross-BU collaboration on specific deals
Performance and Scaling Considerations
Section titled “Performance and Scaling Considerations”| Metric | Guideline | Risk if Exceeded |
|---|---|---|
| Territories per model | 1,000 (EE) / 99,999 (UE) | Hard limit; cannot exceed |
| Accounts per territory | Keep under 10,000 | Performance degradation in sharing calculations |
| Users per territory | Use API for >1,500 users | Setup UI times out; API required |
| User-to-territory ratio | ~3 territories per user (rule of thumb) | Excessive sharing group memberships |
| Assignment rule criteria | Max 10 fields per rule | Use formula fields to combine criteria |
| Sharing recalculation | Proportional to territories x accounts x users | Schedule activations in maintenance windows |
Common Gotchas
Section titled “Common Gotchas”Related Topics
Section titled “Related Topics”- Sharing Model: OWD, Role Hierarchy & Sharing Rules: territory management as part of the sharing stack
- Security Decision Guides: flowcharts for choosing sharing mechanisms
- System Architecture: org strategy and multi-BU considerations
- Security Trade-offs: territory complexity vs sharing performance
- Data Architecture: LDV impact on territory sharing calculations
Sources
Section titled “Sources”- Salesforce Help: Sales Territories Introduction
- Salesforce Help: Territory Model State
- Salesforce Help: Territory Management 2.0 Data Model
- Salesforce Help: Territory Management Best Practices
- Salesforce Help: Enterprise Territory Management Is Now Sales Territories (Spring ‘25)
- Salesforce Developers: Territory2 Object Reference
- Salesforce Developers: Territory2Model Object Reference
- Salesforce Developers: UserTerritory2Association Object Reference
- Salesforce Developers: ObjectTerritory2Association Object Reference
- Salesforce Developers: Territory Management Data Model Gallery
- Salesforce Implementation Guide: Sales Territories (Spring ‘26 PDF)
- Trailhead: Optimize Performance for Sales Territories
- Trailhead: Effective Sales Forecasting & Territory Management
- Salesforce Ben: Territory Management - 10 Things You Need to Know
- Salesforce Help: Role and Territory Sharing Groups
Personal study notes for the Salesforce CTA exam. Content compiled from VJ's study notes, official Salesforce documentation, community sources, and online publicly available content, then organized and presented with AI assistance. Not affiliated with Salesforce. © 2025–2026 VJ Srivastava.