#416 · Lift out, no other lift · Cinder Point
done Mon 18:31 · alarm 2006
Ledger row
policy v2
policy v2
- The call
- POST /tickets source=alarm alarm=2006
- 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 29 this hour).authorityconditionscooldownbudget
- Definition
- lift_outage_single v1
- At stake
- 9 homes above ground floor without a lift
- Outcome
- Emergency ticket 5667 opened from alarm 2006, 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": 2006,
"amount_at_risk": null,
"asset_id": 902,
"building": "Cinder Point",
"building_id": 29,
"currency": null,
"floors": 3,
"has_ticket": false,
"homes_above_ground": 9,
"lifts": 1,
"lifts_in_planned_works": 0,
"manager_id": 1,
"minutes_out": 6,
"raised_at": "2026-11-02 18:25:48.944959",
"residents_notified": false,
"stake_note": "9 homes above ground floor without a lift",
"started_at": "2026-11-02T18:30:48.944959",
"ticket_id": null,
"working_lifts": 0
}Before and after
{
"after": {
"ticket_events": [
{
"id": 27088,
"ticket_id": 5667,
"type": "created"
},
{
"id": 27089,
"ticket_id": 5667,
"type": "vendor_dispatched"
}
],
"tickets": [
{
"alarm_id": 2006,
"assigned_at": "2026-11-02T18:31:00",
"attended_at": "2026-11-02T19:27:50.786776",
"building_id": 29,
"category": "lift",
"closed_at": "2026-11-02T23:48:44.087225",
"completed_at": "2026-11-02T22:48:44.087225",
"due_at": "2026-11-02T22:31:00",
"duplicate_of": null,
"id": 5667,
"opened_at": "2026-11-02T18:31: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-11-02T18:51:00.349404",
"duplicate_of": 5667,
"id": 5635,
"status": "merged"
}
]
},
"before": {
"tickets": [
{
"closed_at": null,
"duplicate_of": null,
"id": 5635,
"status": "assigned"
}
]
},
"endpoint": "POST /tickets source=alarm alarm=2006",
"note": "Emergency ticket 5667 opened from alarm 2006, vendor 98 dispatched.",
"ok": true,
"rollback_fn_name": "undo_open_ticket_from_alarm"
}Arguments
{
"alarm_id": 2006
}