What is Resource Scheduling Optimization (RSO) in Field Service and how does it automate dispatching?
Answer
Basics: Field Service has two jobs: choose a time and resource for one appointment (scheduling) and improve the whole schedule (optimization). Optimization features include Global Routing (broad horizon, territory-wide), In-Day Optimization (today, reacting to delays), and Resource Schedule Optimization, which optimizes a set of resources' schedules. The original answer describes initial scheduling more than RSO.
How it works: The scheduler evaluates a Scheduling Policy made of Work Rules (hard constraints such as match skills, service territory, resource availability, required resources) and Service Objectives (soft goals such as minimize travel, prefer preferred resources, ASAP). An optimization request names territories and a horizon; the engine produces a proposed schedule, writes changes to appointments, and logs results visible in the Optimization Hub or Gantt. Pinned appointments and fixed schedules stay put, and appointments in progress are not moved.
Advanced / deep dive: There are two engines: the legacy optimization (managed package based) and Enhanced Scheduling and Optimization (ESO), which runs on the platform and uses Salesforce data model objects and flow-based actions. Check which one your org uses. Run optimization off-hours via schedule, and size territories sensibly since problem size drives runtime and quality. Travel time depends on a routing source (straight-line or map-based); inaccurate locations ruin results. Consider overtime, breaks, dependencies between appointments and time slots; each rule adds constraint complexity. Always test policy changes in a sandbox with realistic data and compare KPIs (travel, utilization, SLA hits).
Code / config example: Setup steps: (1) create work rules and service objectives; (2) build a scheduling policy, weighting objectives; (3) enable optimization in Field Service Settings and set territories; (4) create a recurring optimization request (for example nightly for tomorrow) and review output in the Optimization Hub.