Keysproperty operations Corbelstone Residential

#315 · Lift out, no other lift · Thistle Place

done Sat 16:05 · alarm 1956

Ledger row
policy v2
The call
POST /tickets source=alarm alarm=1956
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 69 this hour).
authority
conditions
cooldown
budget
Definition
lift_outage_single v1
At stake
77 homes above ground floor without a lift
Outcome
Emergency ticket 5658 opened from alarm 1956, 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": 1956,
  "amount_at_risk": null,
  "asset_id": 1996,
  "building": "Thistle Place",
  "building_id": 69,
  "currency": null,
  "floors": 8,
  "has_ticket": false,
  "homes_above_ground": 77,
  "lifts": 2,
  "lifts_in_planned_works": 1,
  "manager_id": 14,
  "minutes_out": 6,
  "raised_at": "2026-10-31 15:59:46.881581",
  "residents_notified": false,
  "stake_note": "77 homes above ground floor without a lift",
  "started_at": "2026-10-31T16:04:46.881581",
  "ticket_id": null,
  "working_lifts": 0
}

Before and after

{
  "after": {
    "ticket_events": [
      {
        "id": 27054,
        "ticket_id": 5658,
        "type": "created"
      },
      {
        "id": 27055,
        "ticket_id": 5658,
        "type": "vendor_dispatched"
      }
    ],
    "tickets": [
      {
        "alarm_id": 1956,
        "assigned_at": "2026-10-31T16:05:00",
        "attended_at": "2026-10-31T17:03:24.836031",
        "building_id": 69,
        "category": "lift",
        "closed_at": "2026-10-31T19:10:32.866215",
        "completed_at": "2026-10-31T18:10:32.866215",
        "due_at": "2026-10-31T20:05:00",
        "duplicate_of": null,
        "id": 5658,
        "opened_at": "2026-10-31T16:05: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=1956",
  "note": "Emergency ticket 5658 opened from alarm 1956, vendor 99 dispatched.",
  "ok": true,
  "rollback_fn_name": "undo_open_ticket_from_alarm"
}

Arguments

{
  "alarm_id": 1956
}