How does the Match Skills work rule function during automated appointment scheduling in Salesforce Field Service?
Answer
The Match Skills work rule makes sure an appointment is only given to a technician who has every skill the job needs, at the right level.
How the check works
- The job's Skill Requirements (from the Work Type, Work Order or line item) are collected.
- For each candidate resource, the rule checks the resource's Service Resource Skills.
- The resource passes only if it has every required skill, with a skill level at or above the required minimum, and the skill is valid on the appointment date (start and end dates).
- Resources that fail are removed as candidates. This is a hard rule, not a preference.
Example: the job needs Electrical level 50 and Gas Safe level 30. A technician with Electrical 70 but no Gas Safe is rejected.
Find who has a skill
soql
SELECT ServiceResource.Name, Skill.MasterLabel, SkillLevel
FROM ServiceResourceSkill
WHERE Skill.MasterLabel = 'Electrical'
AND (EffectiveEndDate = null OR EffectiveEndDate >= TODAY)
Troubleshooting
- Appointment unscheduled: check for missing, expired or low-level skills.
- Use Get Candidates to see which resources failed the rule.
The rule must be in the Scheduling Policy to take effect.
Field ServiceSkillsScheduling Rules