#232 · Lift out, no other lift · Wharf Works
done Tue 11:25 · alarm 1864
Ledger row
policy v2
policy v2
- The call
- POST /tickets source=alarm alarm=1864
- Action, tier
- open_ticket_from_alarm, tier 0
- Decided by
- rules: No lift in service and no ticket; open an emergency lift ticket, then tell the residents.
- Controller
- Allowed: open_ticket_from_alarm is tier 0 (just do it); within budget (0 of 6 actions at building 46 this hour).authorityconditionscooldownbudget
- Definition
- lift_outage_single v1
- At stake
- 34 homes above ground floor without a lift
- Outcome
- Emergency ticket 5649 opened from alarm 1864, vendor 98 dispatched.
- Undo
- Close the ticket as raised in error and cancel the dispatch.
Undo
Restores the before-snapshot below and writes a new row.
Evidence
{
"alarm_id": 1864,
"amount_at_risk": null,
"asset_id": 1442,
"building": "Wharf Works",
"building_id": 46,
"currency": null,
"floors": 5,
"has_ticket": false,
"homes_above_ground": 34,
"lifts": 2,
"lifts_in_planned_works": 1,
"manager_id": 6,
"minutes_out": 10,
"raised_at": "2026-10-27 11:15:49.181038",
"residents_notified": false,
"stake_note": "34 homes above ground floor without a lift",
"started_at": "2026-10-27T11:20:49.181038",
"ticket_id": null,
"working_lifts": 0
}Before and after
{
"after": {
"ticket_events": [
{
"id": 27012,
"ticket_id": 5649,
"type": "created"
},
{
"id": 27013,
"ticket_id": 5649,
"type": "vendor_dispatched"
}
],
"tickets": [
{
"alarm_id": 1864,
"assigned_at": "2026-10-27T11:25:00",
"attended_at": "2026-10-27T13:26:31.564774",
"building_id": 46,
"category": "lift",
"closed_at": "2026-10-27T18:07:02.532672",
"completed_at": "2026-10-27T17:07:02.532672",
"due_at": "2026-10-27T15:25:00",
"duplicate_of": null,
"id": 5649,
"opened_at": "2026-10-27T11:25:00",
"priority": "emergency",
"reported_by": "keys operator",
"source": "alarm",
"status": "assigned",
"summary": "Lift fault alarm",
"trade": "lift",
"unit_id": null,
"vendor_id": 98
},
{
"closed_at": "2026-10-27T11:52:31.725363",
"duplicate_of": 5649,
"id": 5239,
"status": "merged"
}
]
},
"before": {
"tickets": [
{
"closed_at": "2026-10-27T20:00:00.492255",
"duplicate_of": null,
"id": 5239,
"status": "closed"
}
]
},
"endpoint": "POST /tickets source=alarm alarm=1864",
"note": "Emergency ticket 5649 opened from alarm 1864, vendor 98 dispatched.",
"ok": true,
"rollback_fn_name": "undo_open_ticket_from_alarm"
}Arguments
{
"alarm_id": 1864
}