Incident handling
When a driver runs into a problem (vehicle breakdown, accident, traffic, customer absent...), they report from the mobile app. The Dispatcher resolves it from the web.
This section needs a real incident dataset to demo β screenshots will be added after a driver tests reporting one.
Incident report flowβ
Driver hits a problem
β
Open app β "Report incident" β choose type + photo + note
β
Backend creates Incident record + push notification to Dispatcher
β
Dispatcher resolves β closes the incident
Incident typesβ
The driver app supports 6 types:
| Type | When to use |
|---|---|
| π Vehicle issue | Engine failure, blown tire, out of gas |
| π¦ Traffic jam | Heavy congestion impacting ETA |
| π Wrong address | Can't find the delivery point |
| π« Customer refused | Customer won't accept the goods |
| π€ Customer absent | Arrived but nobody answered |
| β οΈ Other | Other cause + description |
Each incident can include up to 3 photos (broken vehicle, customer signboard, scene...).
View incidents on webβ
Incidents appear in two places:
- Live monitoring page β popup alert + red marker on vehicle
- Sidebar > Admin > Incidents (if module enabled) β historical list
Resolve an incidentβ
Click an incident β detail modal:
Information shownβ
- Incident type + occurrence time
- Driver's description
- Attached photos
- GPS location when reported
- Active trip + related stop
4 Dispatcher actionsβ
1. Contact the driverβ
- Click the phone number to call
- Or send an in-app message (π¬ icon)
2. Rerouteβ
For serious incidents (vehicle disabled):
- Open the Planning page β select the relevant date
- Unlock the trip (Admin permission)
- Drag remaining undelivered orders to another standby vehicle
3. Mark stop as failedβ
For "customer absent / refused":
- Close that stop with status FAILED
- Note the reason for reporting
4. Close incidentβ
- After resolution, click "Close incident"
- Enter a resolution note (e.g. "Dispatched replacement vehicle at 14:30")
- Status moves: OPEN β RESOLVED
Incident reportβ
The Reports > Incidents page (optional module) shows:
- Incident count in period
- % of trips with incidents
- Most common incident type
- Driver with most incidents
Use it to improve: vehicle maintenance, driver training, customer negotiation.
FAQβ
Q: What if the driver reports the wrong incident? A: Dispatcher can close it with note "false alarm". The incident remains in audit log but doesn't count in reports.
Q: What if the Dispatcher isn't online? A: Notification also goes to the IT Admin of the org + persists in DB. Incident stays OPEN until someone resolves it.
Q: Can the driver continue after reporting? A: Yes. Reporting does not lock the app β the driver continues delivering other stops if the vehicle can still drive.
Nextβ
- Live monitoring β Where incidents are first detected
- Transportation reports β Incident KPI rollups