What is the difference between Get Slots and Get Candidates in Salesforce Field Service?
Answer
Both use the Scheduling Policy, but they answer different questions.
Get Candidates
- Returns a ranked list of resources who could do a given appointment, with their grade and the reasons others were rejected.
- Used by dispatchers and agents to pick a technician.
Get Slots
- Returns available time slots for the appointment, based on territory, operating hours, skills and capacity.
- Used for customer-facing booking, such as call-center booking or a self-service portal.
- Available from Apex through
FSL.AppointmentBookingService.GetSlots.
Simple rule: candidates = who, slots = when.
Get SlotsGet CandidatesAppointment Booking