Loading
The Trailblazer Community is now read-only Read More
How Territory Planning Assignments Work

How Territory Planning Assignments Work

Territory assignments move through a sequence of data preparation, planning, critiera evaluation, and record creation. Understanding the sequence helps you design rules and diagnose unexpected assignments.

Required Editions

Available in: Lightning Experience

Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, the Life Sciences Customer Engagement managed package, and these add-on licenses.

  • Life Sciences Cloud for Customer Engagement
  • AnalyticsQueryServiceForSalesPlanning
  • SalesPlanning
  • SonicEmbeddedStoreBase

Planning Data

The provided Data Processing Engine (DPE) definition creates a CRM Analytics dataset from Salesforce data. Each account ID identifies one dataset row, which contain the account and healthcare provider related data required for your territory planning. Data elements with multiple values, such as multiple addresses or specialties, can be combined into a single field with delimited values on that row.

Add the dataset to Sales Planning, map the account ID and account name, and expose each field that planners use in segments or assignment rules. For a combined value, use Contains to match one value in the delimited string. Use Equals when the entire field value must match.

Segments and Alignments

A sales plan uses the dataset to divide accounts into segments. Each Territory Planning alignment uses a segment and its live dataset. An alignment imports the active Enterprise Territory Management hierarchy as planning areas.

The processing batch uses the area name to locate the Enterprise Territory Management territory with the same name. A mismatch prevents the expected association from being created.

Important
Important Do not change imported territory or area names.

Geographic and Rule Matching

When an area has a geographic container, Salesforce first compares the account's configured geographic fields with the container. For example, an alignment can combine a country value with a three-digit postal code value to identify a container. Only accounts that match the container continue to assignment-rule evaluation. Confirm the order and delimiter that the implementation uses before you create a custom boundary key.

Salesforce evaluates rules configured directly on the area. It also evaluates a parent area's rules when Apply to Child Area is selected. If an area has a container but no assignment rules, every account that matches the container qualifies for the area. If an area has no container, its area rules determine qualification.

Output Records

For a qualifying account and area, Salesforce creates an Object Territory 2 Association between the account and the matching Enterprise Territory Management territory. These associations are shown as manual assigned accounts in Enterprise Territory Management. Area owners and assigned users produce User Territory 2 Association records. Owners have no territory role; assigned users use the role selected in Territory Planning.

The scheduled flow runs the Data Processing Engine (DPE) and waits for the dataset refresh to finish before it starts the account-processing batch. After this process completes, run or schedule the Align Account to Territory job to reconcile Provider Account Territory Information records.

 
Loading
Salesforce Help | Article