---
schema_version: "1"
id: c1eaab89dc565a8693c8687ca69fa1ca428b0d33ee816edd76c2690443582f1c
title: Monitor Field Service Schedule Optimization Requests
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_monitor_optimization_requests.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_monitor_optimization_requests.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b391d34d22a6982dacb23fd82d9f7aa259d56f4934bf46f751d4ca55fb0ecaba
description: Keep an eye on all Field Service schedule optimization requests from the Gantt or the Optimization Requests custom tab.
products:
  - Field Service
release: "264"
---
# Monitor Field Service Schedule Optimization Requests

Keep an eye on all Field Service schedule optimization requests from the Gantt or the Optimization Requests custom tab.

### 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: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Agentforce Field Service and Operations core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d97508e72">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d97508e72 ">To cancel optimization requests:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d97508e72 ">Abort Optimization Request custom permission</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._

From the Optimization Requests tab

[Create a custom tab](https://help.salesforce.com/articleView?id=creating_custom_object_tabs.htm&amp;type=5&language=en_US) for the Optimization Request object, and customize the list view to show useful fields like Status, Start, Finish, and Failure Reason. Click any request to view its details.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/images/icon_note.png)

Note Add the Failure Details field and Notes and Attachments related list to the optimization request page layout. These page elements give you a fuller view of the request.

![Optimization Requests tab](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/pfs_requests_tab.png)

Click an optimization request to show more information about the request, including who created, owns, and modified the request, the scheduling policy, the criteria defined to keep appointments scheduled during optimization, the number of objects to schedule, and the actual number of objects scheduled. For example, service managers can easily identify the user who initiated the global, in-day, or resource schedule optimization request or who configured the scheduled job. The Owner field in the optimization request shows the user’s name, providing insights into scheduling and optimization actions. This functionality facilitates system tracking, troubleshooting, and traceability.

You can track optimization performance with reports. Each optimization run creates a Territory Optimization Request record for every service territory in the run. These records store scheduling metrics before and after optimization. To analyze performance, create reports on the Territory Optimization Request object and filter by Optimization Request to scope data to specific runs, territories, or time periods. Useful fields include: Scheduled Appointments Before, Scheduled Appointments After, Travel Time Between Appointments Before, Travel Time Between Appointments After, Unscheduled Resources Before, Unscheduled Resources Before After, and Unscheduled Services Rule Violation.

From the Gantt

Click the lightbulb icon at the top of the Gantt to view the status of recent optimization requests. When a global optimization request is in progress, you can see a percentage-based progress bar and the option to cancel the request.

![Global optimization progress](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/pfs_request_progress_global.png)

In-day optimization progress appears below the Gantt’s time axis.

![In-day optimization progress](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/pfs_request_progress_inday.png)

A percentage-based progress bar isn’t available for resource schedule optimization requests, but the resource’s row in the Gantt changes color to indicate that optimization is in progress.

![RSO progress](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/pfs_request_progress_rso.png)

Why did my request fail?

Salesforce sometimes cancels optimization requests to protect the integrity of your schedule. Here are the most common reasons a request fails.

- If a request stays in the same status for longer than the configured limit, it’s canceled. The limit varies depending on the status and the type of optimization.
- If optimization runs longer than your org's session timeout value, it gets stuck in the "In Progress" status. The optimization job fails, resulting in an error when it tries to deliver the results to your Salesforce org.
    
    To avoid failed optimizations, increase your session timeout value to at least 2 hours, or select a quicker optimization run time.
- Scheduled optimization jobs can generate one or more JSON files. The request fails if a JSON file contains more than 6 million characters.
    
    To check whether an optimization job exceeded this limit, go to the Optimization Requests tab. Open the request associated with the failed job, and click the value in the Optimization Data field. In the Notes and Attachments related list, open each JSON file and check its character total.
    
    If the Optimization Data field is empty, check the Error field for details. If the Error field is empty, contact Salesforce to learn more about the failure.
- If simultaneous conflicting updates are made to the schedule while a request is open, the request is canceled. For example, this can happen when you add or update appointments or resource absences that fall into the date range and service territory being optimized.
- Resource schedule optimization fails if more than 50 service appointments are required to remain scheduled during the optimization. To change which appointments must remain scheduled, select a different category in **Keep these appointments scheduled** when you run the optimization. For example, if In Jeopardy is selected and more than 50 appointments are in jeopardy for the selected time period, the request fails.

To review limits and limitations related to schedule optimization, see [Field Service Limits and Limitations](https://help.salesforce.com/s/articleView?id=service.fs_limits.htm&release=264.0.0&type=5 "Learn about the limits and limitations of Agentforce Field Service and Operations (formerly Field Service).").

#### See Also

- [Manage Scheduled Jobs in Field Service](https://help.salesforce.com/s/articleView?id=service.pfs_set_up_jobs_enhanced.htm&type=5&language=en_US)
- [Optimize a Single Field Service Resource’s Schedule](https://help.salesforce.com/s/articleView?id=service.pfs_resource_optimization_user.htm&release=264.0.0&type=5 "In Field Service, when last-minute developments occur like canceled jobs or lateness, use Resource Schedule Optimization (RSO) to design the best schedulefor an individual service resource.")