#247 · Lift out, no other lift · Indigo Gardens
done Wed 05:00 · alarm 1884
Ledger row
policy v2
policy v2
- The call
- POST /tickets source=alarm alarm=1884
- 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 93 this hour).authorityconditionscooldownbudget
- Definition
- lift_outage_single v1
- At stake
- 44 homes above ground floor without a lift
- Outcome
- Emergency ticket 5653 opened from alarm 1884, 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": 1884,
"amount_at_risk": null,
"asset_id": 2546,
"building": "Indigo Gardens",
"building_id": 93,
"currency": null,
"floors": 5,
"has_ticket": false,
"homes_above_ground": 44,
"lifts": 1,
"lifts_in_planned_works": 0,
"manager_id": 16,
"minutes_out": 6,
"raised_at": "2026-10-28 04:54:40.567177",
"residents_notified": false,
"stake_note": "44 homes above ground floor without a lift",
"started_at": "2026-10-28T04:59:40.567177",
"ticket_id": null,
"working_lifts": 0
}Before and after
{
"after": {
"ticket_events": [
{
"id": 27028,
"ticket_id": 5653,
"type": "created"
},
{
"id": 27029,
"ticket_id": 5653,
"type": "vendor_dispatched"
}
],
"tickets": [
{
"alarm_id": 1884,
"assigned_at": "2026-10-28T05:00:00",
"attended_at": "2026-10-28T06:22:27.201513",
"building_id": 93,
"category": "lift",
"closed_at": "2026-10-28T08:58:51.595587",
"completed_at": "2026-10-28T07:58:51.595587",
"due_at": "2026-10-28T09:00:00",
"duplicate_of": null,
"id": 5653,
"opened_at": "2026-10-28T05:00:00",
"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-10-28T05:13:28.884477",
"duplicate_of": 5653,
"id": 5297,
"status": "merged"
}
]
},
"before": {
"tickets": [
{
"closed_at": "2026-10-29T23:27:39.010984",
"duplicate_of": null,
"id": 5297,
"status": "closed"
}
]
},
"endpoint": "POST /tickets source=alarm alarm=1884",
"note": "Emergency ticket 5653 opened from alarm 1884, vendor 99 dispatched.",
"ok": true,
"rollback_fn_name": "undo_open_ticket_from_alarm"
}Arguments
{
"alarm_id": 1884
}