How does the Service Appointment status lifecycle (Scheduled, Dispatched, In Progress, Completed) affect scheduling and automation in Field Service?
Answer
The Service Appointment status shows where a visit is in its life, and both the scheduling engine and automations react to it.
Status categories (typical flow) None \u2192 Scheduled \u2192 Dispatched \u2192 In Progress \u2192 Completed (or Cannot Complete / Canceled)
Effect on scheduling
- None: unscheduled, and eligible to be scheduled.
- Scheduled: has a resource and time, and can still be moved by optimization.
- Dispatched: sent to the technician's mobile app, so they can see and start it.
- In Progress / Completed: not moved by the engine, and time is treated as actual.
- Canceled / Cannot Complete: frees the slot, which can be refilled.
Effect on automation
- Flows and triggers use status to send notifications, create follow-up work, update the Work Order or start billing.
soql
SELECT AppointmentNumber, SchedStartTime, Status
FROM ServiceAppointment
WHERE Status = 'Dispatched'
AND SchedStartTime < :System.now()
This finds dispatched appointments that should have started already.
Use Status Categories when you add custom statuses, so the engine still understands them.
Service AppointmentStatusDispatchAutomation