#411 · Lift out, no other lift · Wharf Court
done Mon 17:35 · alarm 2004
Ledger row
policy v2
policy v2
- The call
- POST /tickets source=alarm alarm=2004
- 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 106 this hour).authorityconditionscooldownbudget
- Definition
- lift_outage_single v1
- At stake
- 60 homes above ground floor without a lift
- Outcome
- Emergency ticket 5664 opened from alarm 2004, 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": 2004,
"amount_at_risk": null,
"asset_id": 2900,
"building": "Wharf Court",
"building_id": 106,
"currency": null,
"floors": 5,
"has_ticket": false,
"homes_above_ground": 60,
"lifts": 1,
"lifts_in_planned_works": 0,
"manager_id": 23,
"minutes_out": 6,
"raised_at": "2026-11-02 17:29:36.763758",
"residents_notified": false,
"stake_note": "60 homes above ground floor without a lift",
"started_at": "2026-11-02T17:34:36.763758",
"ticket_id": null,
"working_lifts": 0
}Before and after
{
"after": {
"ticket_events": [
{
"id": 27082,
"ticket_id": 5664,
"type": "created"
},
{
"id": 27083,
"ticket_id": 5664,
"type": "vendor_dispatched"
}
],
"tickets": [
{
"alarm_id": 2004,
"assigned_at": "2026-11-02T17:35:00",
"attended_at": "2026-11-02T19:38:05.379998",
"building_id": 106,
"category": "lift",
"closed_at": "2026-11-02T23:09:16.070732",
"completed_at": "2026-11-02T22:09:16.070732",
"due_at": "2026-11-02T21:35:00",
"duplicate_of": null,
"id": 5664,
"opened_at": "2026-11-02T17:35:00",
"priority": "emergency",
"reported_by": "keys operator",
"source": "alarm",
"status": "assigned",
"summary": "Lift fault alarm",
"trade": "lift",
"unit_id": null,
"vendor_id": 99
}
]
},
"before": {
"tickets": []
},
"endpoint": "POST /tickets source=alarm alarm=2004",
"note": "Emergency ticket 5664 opened from alarm 2004, vendor 99 dispatched.",
"ok": true,
"rollback_fn_name": "undo_open_ticket_from_alarm"
}Arguments
{
"alarm_id": 2004
}