Skip to content

Skills and matching

~3 min · Recipe

Use skills when only some vehicles or drivers can serve some jobs — a lift gate, a refrigerated van, a certified driver. A task is only assigned to a vehicle whose skills cover the task's required skills.

On the vehicle — what it can do:

{ "id": 2, "capacities": [{ "name": "parcels", "units": 40 }], "skills": ["refrigerated", "liftgate"] }

On the task — what it needs:

{ "id": 1002, "location": [49.24660, -123.06340], "duration": 300, "skills": ["refrigerated"] }
  • A task with no skills can go on any vehicle.
  • A task requiring a skill no vehicle provides lands in unassigned with reason SKILL.
  • Skills are plain strings — match them exactly (case-sensitive).

Related: Capacities and demand · Time windows · The Problem object