People, roles and assignment

Two different things get attached to a territory, and mixing them up is the second most common confusion in this product after the two hierarchies.

Question it answers
MembershipWho works this territory? — a person, with a role
AssignmentWhich territory covers this account? — a record, placed by its location

They are stored separately and set separately. For accounts, neither implies the other. For an object set up to assign a person, membership decides who receives the record — see What gets written.


Membership — putting people in territories

The user assignment panel

Assigning people. This list is your Salesforce users; here it is a dozen invented ones, and the panel says so.

Press the person + button on a territory card.

The assign-people button on a territory card

Search, filter, and tick the people who work that territory.

Three people selected

Three people picked. The button counts them, so you can see what you are about to do before you do it.

A person can be in as many territories as you like, with a different role in each.

Setting someone's role

The role menu

Setting someone's role in this territory. The roles offered are the ones defined on the model in Salesforce Setup — if this list is empty, that is where to go.

A role selector appears for each person you tick, so the role is set as part of the assignment rather than as a second pass afterwards.

A ticked person with their Role selector

🔴 The ASSIGN button stays greyed out until EVERY person you ticked has a role. Not the first one — all of them. If the button will not light up, scroll the list and look for the one you missed; a person with no role is the only thing holding it.

The territory's members on the Territory Users tab

The territory's members, on the Territory Users tab — the count in the tab label is the quickest check that an assignment landed. Membership is who works the territory; it is not what decides which records land in it.

The green badge counting the people assigned

Where the role list comes from

Your administrator defines it — see Defining territory roles. Two things follow:

  • They are your organisation's words, not Salesforce's and not ours. The package ships no roles at all, deliberately, so nothing arrives pre-loaded with someone else's job titles.
  • The list is shaped. Roles can be flat, or nested to show that one sits under another. Nesting may be shown indented; depending on how the panel was opened, roles can also appear as one flat list. Whether your list is flat or a hierarchy is entirely your administrator's choice, and they can mix the two.

If the selector is empty, it will say why, rather than showing a dropdown with nothing in it and an Assign users button that never enables. There are two different messages and they need different people:

What it saysWhat it means
No territory roles are defined in this org yetNobody has created any. An administrator does this once — Defining territory roles
Territory roles are defined, but none of them apply to this territory modelThey exist but are scoped to a different model. An administrator should clear Territory Model Name on them

🔴 A role here is a label on the membership. It grants nothing. Giving someone Sales Manager in a territory does not change their record access, their permissions, or anything they can see elsewhere in Salesforce. It records "this is the part this person plays in this territory", and nothing more. It is also unrelated to your org's role hierarchy under Setup → Users → Roles — that is a different thing with a confusingly similar name, and it is changed only in Setup, never from this screen.

⚠️ Spellings still matter, but now they are set once. The underlying field accepts anything, so "Manager", "manager" and "Mgr" would be three different roles. Because you pick from a defined list rather than typing, that is your administrator's problem to get right when they create the roles — not something each user can get wrong.

⚠️ Roles do not inherit. Being a Manager of a parent territory gives you nothing in its children. If someone should hold a role across a branch, add them to each territory in it.

Seeing who covers what

The descendants panel — seeing everything beneath a territory — can group what it lists by role instead of by tree position, which is the view to use when the question is "who covers this" rather than "what is under this".

⚠️ That control is greyed out until at least one territory role applies to this model. See Defining territory roles.


Assignment — how records reach territories

Records are assigned by where they are, automatically:

  1. Salesforce geocodes the record's billing address and writes latitude and longitude.
  2. Within about five minutes, Territory Mapper finds records whose coordinates are new or have changed. (An account created with coordinates already on it starts straight away.) A record that moves is assigned again — see When a record's address changes.
  3. It tests the point against your territory boundaries.
  4. It writes the assignment.

Nothing about this is manual. It does depend on one scheduled job, Territory Mapper — Assignment Retry, which the install creates. Until an administrator who can manage territories has opened the map or the Assignment Exceptions tab once (setup step 9), that job cannot run and only records saved with coordinates already on them are assigned. Opening the page re-registers the job automatically; it also restarts the five-minute check if it ever stops.

The hourly job also runs a backstop pass for anything the five-minute check missed: 200 accounts, and 25 records of each other object, at a time. To assign a record of another object at the moment it is saved with coordinates, call the Assign Territory action from a record-triggered Flow on that object.

🔴 Step 1 is the one that fails

If geocoding clean rules are not enabled and configured, no record ever gets coordinates and step 2 never finds anything. Nothing errors; nothing happens at all.

This is the most common cause of "assignment isn't working". Check it — two minutes.

What gets written

An account assigned automatically is associated with every territory containing it, at every tier, in every model that has saved boundaries (or, if an Account row in Territory Object Config names a model, in that model only) — if its point falls inside Southeast → Florida → Orlando Metro, all three associations are written, not just the deepest.

Other objects you set up get one territory — the deepest, unless the configuration names a level — written to the field the configuration names. If the configuration also names an assignee field and a role, the person who holds that role in the territory is written too; nobody holding it puts the record in the exception queue as No role holder.

⚠️ An account assigned by hand from the map gets only the deepest territory, and assigning it by hand replaces the associations it already had. The two paths disagree, and nothing stored tells them apart. If you compare records assigned automatically against records assigned manually, they will look inconsistent — because they are. This is a known open question rather than a setting you can change.

When there is no single answer

Assignment assumes a point falls in at most one territory per tier. Nothing enforces that, and territories in a model can overlap. A point inside an overlap is assigned to both, and neither is wrong from the system's point of view.

If a record has more territories than you expect, look for overlapping boundaries first.


What is not assigned

Only records with coordinates. A record with no coordinates is simply not picked up — it does not appear in the exception queue. If records are missing, check geocoding first.

Accounts whenever they hold no territory yet; other objects only when configured. An account that already holds a territory in any model is left as it is — a known defect in 1.4.0.5 (216-F1), see Troubleshooting. Any other object is assigned only by a model it has been given. Which objects those are — and which model handles each one — is set per object-and-model pair: see Which objects a model assigns. If a record type you expect to see is not being assigned, check there before suspecting a boundary problem.


What does NOT happen

Each of these is a reasonable assumption and each is wrong.

AssumptionReality
"I changed a boundary, so records will move"No. Nothing re-evaluates on a boundary change. Re-run after a fix only helps records in the exception queue; re-running an account that is already assigned adds its new territory and removes the old one if Territory Mapper had set it — a territory a person set, or one assigned before version 1.3.0, is kept
"I fixed an address, so it will re-assign"Yes, within about 20 minutes, once Salesforce has geocoded the new address. The territories Territory Mapper gave the record follow it; a territory a person set, or one assigned before version 1.3.0, is kept and a Manual assignment kept row says so — see When a record's address changes
"Adding someone to a territory assigns their records"No — adding someone does not reassign records already placed. But for objects set up to assign a person, a territory's members are who new records go to
"A record can only be in one territory"Accounts: no — every tier, in every published model, plus any overlap. Other objects: yes — one territory per record
"There is an audit trail of what moved and why"Not yet. Boundary-change reassignment with a dry-run preview and an audit trail is planned, not built

Checking your work

QuestionWhere to look
Which territories cover this account?The record's territory associations
What failed, and why?Assignment Exceptions — the exception queue
Where is nobody covering?Coverage gaps — coverage gaps
Who works this territory?The territory's members, on the territory card

Last verified: 2026-11-07 · Owner: MapKraken Labs LLC

Something on this page wrong, or a setup step missing? That is a documentation defect and we want it — tell us and this is the page that gets fixed.