Keysproperty operations Corbelstone Residential

#414 · Lift out, no other lift · Signal Gardens

done Mon 17:58 · alarm 2005

Ledger row
policy v2
The call
POST /tickets source=alarm alarm=2005
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 21 this hour).
authority
conditions
cooldown
budget
Definition
lift_outage_single v1
At stake
195 homes above ground floor without a lift
Outcome
Emergency ticket 5666 opened from alarm 2005, 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": 2005,
  "amount_at_risk": null,
  "asset_id": 735,
  "building": "Signal Gardens",
  "building_id": 21,
  "currency": null,
  "floors": 14,
  "has_ticket": false,
  "homes_above_ground": 195,
  "lifts": 1,
  "lifts_in_planned_works": 0,
  "manager_id": 1,
  "minutes_out": 5,
  "raised_at": "2026-11-02 17:53:29.523334",
  "residents_notified": false,
  "stake_note": "195 homes above ground floor without a lift",
  "started_at": "2026-11-02T17:58:29.523334",
  "ticket_id": null,
  "working_lifts": 0
}

Before and after

{
  "after": {
    "ticket_events": [
      {
        "id": 27086,
        "ticket_id": 5666,
        "type": "created"
      },
      {
        "id": 27087,
        "ticket_id": 5666,
        "type": "vendor_dispatched"
      }
    ],
    "tickets": [
      {
        "alarm_id": 2005,
        "assigned_at": "2026-11-02T17:58:30",
        "attended_at": "2026-11-02T20:18:04.969432",
        "building_id": 21,
        "category": "lift",
        "closed_at": "2026-11-03T00:33:00.576659",
        "completed_at": "2026-11-02T23:33:00.576659",
        "due_at": "2026-11-02T21:58:30",
        "duplicate_of": null,
        "id": 5666,
        "opened_at": "2026-11-02T17:58:30",
        "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-11-02T18:18:44.824907",
        "duplicate_of": 5666,
        "id": 5627,
        "status": "merged"
      }
    ]
  },
  "before": {
    "tickets": [
      {
        "closed_at": null,
        "duplicate_of": null,
        "id": 5627,
        "status": "in_progress"
      }
    ]
  },
  "endpoint": "POST /tickets source=alarm alarm=2005",
  "note": "Emergency ticket 5666 opened from alarm 2005, vendor 98 dispatched.",
  "ok": true,
  "rollback_fn_name": "undo_open_ticket_from_alarm"
}

Arguments

{
  "alarm_id": 2005
}