---
schema_version: "1"
id: 4f2b6d251f16762e6cf03a984a2439fb90ec8188514421798d50f0c597eec35d
title: "Workforce Scheduling Rule Type: Working Territories"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/wfs_work_rules_working_territories.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.wfs_work_rules_working_territories.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b377e98665165edb25b24e5297f44c9b414512cfd81f1f81c28af1381ae1bedb
description: Working Territories is a Workforce Scheduling work rule type that checks if a service resource has a primary and secondary territory membership that matches the service appointment’s territory. This work rule ensures that workers are only scheduled for jobs within their assigned operational areas. Working Territories work rules are applicable to field and on-site scheduling.
products:
  - Public Sector
  - Service Cloud
release: "264"
---
# Workforce Scheduling Rule Type: Working Territories

Working Territories is a Workforce Scheduling work rule type that checks if a service resource has a primary and secondary territory membership that matches the service appointment’s territory. This work rule ensures that workers are only scheduled for jobs within their assigned operational areas. Working Territories work rules are applicable to field and on-site scheduling.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

Service resources can have only one primary service territory at a time, but multiple secondary territories. Optimization requests that include a service resource’s secondary territory memberships must also include the corresponding primary territory membership. Secondary territory memberships must be identical to, or contained within, the primary territory membership for a particular time and resource. If the secondary territory memberships aren’t fully covered by a primary territory membership, availability applies only to the overlapping period. The secondary service territory doesn’t need to be contained within the primary service territory. Scheduling and optimization is supported only for service territories with at least one primary service territory member. By default, the Working Territories rule considers only secondary territories. If you want the optimizer to consider the primary territory as well, select **Working Location Enable Primary** on the work rule.

If service resources frequently move between service territories, use a Working Territories work rule.

Create work rules from Setup. Find and go to **Workforce Scheduling**, and under **Appointment Scheduling Logic**, select **Work Rules**. To view or add work rule fields open the Object Manager in Setup and select the **Work Rule** custom object. To add work rules to a scheduling policy, see [Create and Manage Scheduling Policies in Workforce Scheduling](https://help.salesforce.com/s/articleView?id=service.wfs_policies_manage.htm&release=264.0.0&type=5 "Scheduling policies combine work rules and service objectives to control which resources and time slots Workforce Scheduling assigns to each appointment. Work rules decide who’s eligible, and service objectives decide who’s the best fit. During scheduling and optimization, the engine applies these criteria against factors like resource skills, travel time, and urgency to make sure the right person is assigned to the right job efficiently.").

#### See Also

- [Create and Manage Work Rules in Workforce Scheduling](https://help.salesforce.com/s/articleView?id=service.wfs_work_rules_manage.htm&release=264.0.0&type=5 "Work rules filter candidates for a service appointment by rejecting service resources that violate any rule. Every scheduling policy uses work rules to filter candidates before service objectives grade them.")