Keysproperty operations Corbelstone Residential

#235 · Lift out, no other lift · Umber Lofts

done Tue 16:45 · alarm 1867

Ledger row
policy v2
The call
POST /tickets source=alarm alarm=1867
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 38 this hour).
authority
conditions
cooldown
budget
Definition
lift_outage_single v1
At stake
18 homes above ground floor without a lift
Outcome
Emergency ticket 5650 opened from alarm 1867, 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": 1867,
  "amount_at_risk": null,
  "asset_id": 1064,
  "building": "Umber Lofts",
  "building_id": 38,
  "currency": null,
  "floors": 3,
  "has_ticket": false,
  "homes_above_ground": 18,
  "lifts": 1,
  "lifts_in_planned_works": 0,
  "manager_id": 10,
  "minutes_out": 8,
  "raised_at": "2026-10-27 16:37:58.20738",
  "residents_notified": false,
  "stake_note": "18 homes above ground floor without a lift",
  "started_at": "2026-10-27T16:42:58.207380",
  "ticket_id": null,
  "working_lifts": 0
}

Before and after

{
  "after": {
    "ticket_events": [
      {
        "id": 27014,
        "ticket_id": 5650,
        "type": "created"
      },
      {
        "id": 27015,
        "ticket_id": 5650,
        "type": "vendor_dispatched"
      }
    ],
    "tickets": [
      {
        "alarm_id": 1867,
        "assigned_at": "2026-10-27T16:45:00",
        "attended_at": "2026-10-27T18:10:55.109958",
        "building_id": 38,
        "category": "lift",
        "closed_at": "2026-10-27T22:37:22.436382",
        "completed_at": "2026-10-27T21:37:22.436382",
        "due_at": "2026-10-27T20:45:00",
        "duplicate_of": null,
        "id": 5650,
        "opened_at": "2026-10-27T16:45: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-27T17:11:42.722744",
        "duplicate_of": 5650,
        "id": 5264,
        "status": "merged"
      }
    ]
  },
  "before": {
    "tickets": [
      {
        "closed_at": "2026-10-28T21:15:05.312895",
        "duplicate_of": null,
        "id": 5264,
        "status": "closed"
      }
    ]
  },
  "endpoint": "POST /tickets source=alarm alarm=1867",
  "note": "Emergency ticket 5650 opened from alarm 1867, vendor 98 dispatched.",
  "ok": true,
  "rollback_fn_name": "undo_open_ticket_from_alarm"
}

Arguments

{
  "alarm_id": 1867
}