#392 · Lift out, no other lift · Heron Court
done Mon 12:06 · alarm 1998
Ledger row
policy v2
policy v2
- The call
- POST /tickets source=alarm alarm=1998
- 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 74 this hour).authorityconditionscooldownbudget
- Definition
- lift_outage_single v1
- At stake
- 168 homes above ground floor without a lift
- Outcome
- Emergency ticket 5662 opened from alarm 1998, vendor 99 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": 1998,
"amount_at_risk": null,
"asset_id": 2015,
"building": "Heron Court",
"building_id": 74,
"currency": null,
"floors": 12,
"has_ticket": false,
"homes_above_ground": 168,
"lifts": 1,
"lifts_in_planned_works": 0,
"manager_id": 16,
"minutes_out": 5,
"raised_at": "2026-11-02 12:01:13.760808",
"residents_notified": false,
"stake_note": "168 homes above ground floor without a lift",
"started_at": "2026-11-02T12:06:13.760808",
"ticket_id": null,
"working_lifts": 0
}Before and after
{
"after": {
"ticket_events": [
{
"id": 27073,
"ticket_id": 5662,
"type": "created"
},
{
"id": 27074,
"ticket_id": 5662,
"type": "vendor_dispatched"
}
],
"tickets": [
{
"alarm_id": 1998,
"assigned_at": "2026-11-02T12:06:30",
"attended_at": "2026-11-02T13:08:38.823119",
"building_id": 74,
"category": "lift",
"closed_at": "2026-11-02T15:18:10.512319",
"completed_at": "2026-11-02T14:18:10.512319",
"due_at": "2026-11-02T16:06:30",
"duplicate_of": null,
"id": 5662,
"opened_at": "2026-11-02T12:06:30",
"priority": "emergency",
"reported_by": "keys operator",
"source": "alarm",
"status": "assigned",
"summary": "Lift fault alarm",
"trade": "lift",
"unit_id": null,
"vendor_id": 99
},
{
"closed_at": "2026-11-02T14:00:34.396207",
"duplicate_of": 5662,
"id": 5604,
"status": "merged"
}
]
},
"before": {
"tickets": [
{
"closed_at": null,
"duplicate_of": null,
"id": 5604,
"status": "completed"
}
]
},
"endpoint": "POST /tickets source=alarm alarm=1998",
"note": "Emergency ticket 5662 opened from alarm 1998, vendor 99 dispatched.",
"ok": true,
"rollback_fn_name": "undo_open_ticket_from_alarm"
}Arguments
{
"alarm_id": 1998
}