How do Maintenance Plans in Salesforce Field Service generate preventive maintenance Work Orders for assets?
Answer
Maintenance Plans automate recurring preventive visits for assets, so work is planned before equipment fails.
Setup
- A Maintenance Plan defines the start date, frequency (for example every 6 months), generation timeframe and maintenance window.
- Maintenance Assets attach the assets covered by the plan.
- Optionally link a Work Type and a Service Contract.
What happens
- Salesforce generates Work Orders (with Service Appointments, if the Work Type auto-creates them) ahead of each due date.
- The maintenance window sets the Service Appointment's earliest start and due date, giving the scheduler flexibility.
- Dispatchers schedule them like any other job.
soql
SELECT Id, WorkOrderNumber, Subject, Status, AssetId
FROM WorkOrder
WHERE MaintenancePlanId != null
AND Status = 'New'
ORDER BY CreatedDate DESC
Benefits: fewer breakdowns, steadier technician workload, longer asset life and a repeatable revenue stream.
Maintenance PlanPreventive MaintenanceWork OrderAsset