Skip to content
Bug Barometer
All issues
Solution Deployed

Field Service / Scheduling & Optimization

FSL: ServiceTerritoryID becomes null for a single SA resulting in "Too many rows" or "Apex CPU Time Limit" error. All other SA works fine.

Summary

ServiceTerritoryID becomes null for a single SA.
Calling FSL.getCandidates clears the “Service Territory” from SA, which in turn causes "Too many query rows" or "Apex CPU Time Limit" exception.

The issue will occur when all the mentioned above occurs Altogether:
* A customer has more than 2000 service territories in the org.
* A customer has a WO with multiple children SAs that have different territories
* When we get all territories that are assigned to all the invoked service appointments' "brothers" (same parent WO), the first territory in the list isn't the territory of the invoked SA.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 1 report

    Nov 30, 2026