What is the role of the Assigned Resource object in Salesforce Field Service?
Answer
Basics: A Service Appointment is the visit; a Service Resource is a technician (or crew). The Assigned Resource record ties them together. Without an assigned resource, an appointment is unscheduled from the resource's perspective.
How it works: When the engine schedules or a dispatcher drags an appointment onto a resource in the Gantt, an Assigned Resource record is created. It holds ServiceAppointmentId, ServiceResourceId, estimated and actual travel time, whether it is a required resource (IsRequiredResource), and the crew reference (ServiceCrewId) if the assignment came through a crew. The mobile app and the resource's calendar show appointments by reading these records. Unscheduling deletes the record.
Advanced / deep dive: It enables multi-resource appointments: one appointment can have several Assigned Resource rows, for example when a crew is assigned each crew member gets one row. Reporting on technician workload, utilization and travel is done on this object joined to the appointment. Triggers and flows on Assigned Resource are used to send notifications or sync to external systems, but remember bulk inserts when optimization runs. Sharing is controlled by parent (master-detail relationship to Service Appointment is not used; verify sharing behaviour in your org), so test with technician profiles. Related concepts: Resource Absence, Service Resource Capacity, and Related/Dependent appointments for sequencing multiple visits.
Hidden gotchas & must-remember points:
- There is no "role" field on the standard object; do not model roles by adding assumptions about it.
- Deleting the Assigned Resource effectively unschedules the appointment.
- Optimization can create or delete many rows at once, so automations must be bulk safe.
- For crews, the crew and each member are represented, so counts may be higher than the technician count suggests.