---
schema_version: "1"
id: 3860a37f0093e7ce8ca696309e74e6da79d47b61a41fd6fb3e608c2acbcd1c72
title: Limitations for Enhanced Optimization per Territory
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_enhanced_optimization_per_territory_limitations.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_enhanced_optimization_per_territory_limitations.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ea7bea79d51f373117a54addb6ac61b9ce57baa9711b41631df08d485bda0ee3
description: All Limits and Limitations for Enhanced Scheduling and Optimization apply to Enhanced Optimization per Territory.
products:
  - Field Service
release: "264"
---
# Limitations for Enhanced Optimization per Territory

All Limits and Limitations for Enhanced Scheduling and Optimization apply to Enhanced Optimization per Territory.

### 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: Available in Lightning Experience and Salesforce Classic in these editions where Field Service is enabled: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

![Package icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/support_field_service/images/fs_package.png) _This is a Field Service managed package feature._

Consider these limitations when **Use enhanced scheduling and optimization for all service territories** is disabled in the Field Service Settings and only selected territories are using Enhanced Scheduling and Optimization.

- All service appointment territories and service resource territories within the same optimization request, bulk schedule action, or any batch process that updates service appointments, must use the same optimization engine. A notification is shown when you’re running bulk operations such as global optimization with different territory optimization settings, because it can’t be determined which optimization engine to use.
- If there are customizations that update these fields in a single process or transaction, all the service appointments within that process must be associated with service territories configured to use the same optimization engine: ServiceAppointment.SchedStartTime, ServiceAppointment.SchedEndTime, and AssignedResource.ServiceResource.
- Service appointments assigned in territories enabled for Enhanced Scheduling and Optimization can be scheduled only to resources whose primary territory is also enabled to use Enhanced Scheduling and Optimization.
- Resources with multiple primary territories, where each territory is set for a different date, must have all territories assigned to the same optimization engine.

#### See Also

- [Limits and Limitations for Enhanced Scheduling and Optimization](https://help.salesforce.com/s/articleView?id=service.pfs_enhanced_available_limits.htm&type=5&language=en_US)
- [Set Up Enhanced Optimization for Field Service Territories](https://help.salesforce.com/s/articleView?id=service.pfs_enhanced_optimization_per_territory.htm&type=5&language=en_US)