Automated work orders
Who: administrators and managers set them up; everyone who sees work orders sees what they made.
What it does #
An automation makes a work order when something happens:
| When | Typical use |
|---|---|
| A driver inspection (DVIR) fails | Repair the defects the driver found |
| Any inspection is submitted | A check after every inspection |
| An issue is reported / a critical defect is reported | Repair work for each problem (critical ones as Emergency) |
| A service reminder becomes due | Preventive maintenance work order |
| On a schedule (every N days) | Routine service for each matching vehicle |
| A critical fault code arrives, a tire reaches its replacement tread, a vehicle is marked out of service | Diagnose or replace |
Set one up #
- Open Maintenance › Automated work orders and select + New automation (or start from a template: DVIR defects, issue reported, critical defect, service due, every 90 days).
- Choose When. For a schedule, set Every (days) and Starting.
- Optional: Only when — conditions such as vehicle group, vehicle type, issue priority or the vehicle's name.
- Choose what goes on the work order: summary (with
{title},{summary},{vehicle_id__label}), status, priority, repair reason, due in N days, lead technician, labels, service tasks to add, and whether to copy the details (the issue, the failed inspection items, the service that is due, the fault code) into the complaint and as lines. - Optional: Also tell people (user names,
role:shop, email addresses). - Save.
Expected result: the next matching event makes a work order labelled Automated, linked to its issue or reminder. It shows under Runs with its number.
- An automation never makes a second open work order for the same record; on a schedule, one per period.
- Run now checks schedules and runs what is waiting straight away (the worker does it every few minutes anyway).
- A run that fails (for example a record with no vehicle) is retried and listed with the reason; the owner and administrators are told when it gives up.
- Automations are workflow rules: All workflow rules shows them with the others.
Prepared by Franko.
Something here out of date or unclear? Tell your administrator and mention “automated-work-orders” and version 4.9.2.