Loading

[SFS] Resource Capacity Limit Exceeded When Appointments Are Scheduled Outside Shift Hours

Julkaisupäivä: Oct 30, 2026
Kuvaus

This article covers the scenario where the Field Service scheduling engine (ESO / Get Candidates) books appointments beyond a resource's configured Capacity-Based Resource (CBR) hours because it excludes out-of-shift appointment durations from its capacity calculation. It also covers the related issue where FSL__MinutesUsed__c does not decrement when appointments are unscheduled via status changes. 

Ratkaisu
  1. Open the Resource Capacity record (ServiceResourceCapacity) and note the Date, FSL__MinutesUsed__c and FSL__HoursInUse__c.
  2. Open the Service Resource's Operating Hours / Shift for that date and note its start and end times.
  3. List Service Appointments assigned to the resource for that date (Service Resource > Related > Service Appointments, or a Service Appointment report filtered on Assigned Resource and Scheduled Start = that date). Show Scheduled Start, Scheduled End and Duration.
  4. Flag every appointment whose Scheduled Start or Scheduled End falls outside the shift window from step 2.
  5. Add up Duration (in minutes) for the in-shift appointments only. If this total is lower than FSL__MinutesUsed__c by the combined duration of the flagged appointments, the out-of-shift appointments are the cause. Example: 880 min on the record, 865 min in-shift, and one 15-minute appointment at 1:00 PM against a 6:00–10:00 AM shift.
  6. For each flagged appointment, either reschedule it inside the shift (change Scheduled Start / Scheduled End, or drag it in the Gantt) or unschedule it. Re-run Get Candidates on the affected Service Appointment to confirm the slot is no longer offered.
  7. To prevent a recurrence, add a validation or automation (for example a before-save Flow on Service Appointment) that blocks or flags a Scheduled Start or End outside the assigned resource's shift, especially for integration and self-service booking paths.

If Minutes Used is higher than expected and no out-of-shift appointments exist: Setting Status to None, or clearing Scheduled Start / Scheduled End, does not decrease FSL__MinutesUsed__c (see the documentation below). Compare FSL__MinutesUsed__c with the sum of Duration of appointments still scheduled on that capacity's date. If it is higher, correct the value on the Resource Capacity record and avoid bulk status updates that bypass the Scheduling Engine's unschedule action.

Reference: Define Resource Capacity: https://help.salesforce.com/s/articleView?id=service.fs_define_resource_capacity.htm&type=5

Knowledge-artikkelin numero

005465213

 
Ladataan
Salesforce Help | Article