ZT-587 · Installation Prep Visit: close the block when roof anchors aren't needed
| Status | Done |
| Ticket | ZT-587 |
| Requested by | KAJ Jacobs |
| Made by | KAJ Jacobs (Albatross audit data, 2026-11-10 22:19–22:42 UTC) |
| Date made | 2026-11-10 |
| Sections affected | 08 · Installation (Installation Prep Visit block, Roof Anchor Installation appointment) |
| Project types | Residential, Ohio only (the Installation Prep Visit pilot, ZT-533) |
Request
Some Ohio jobs don't need roof anchors. The Installation Prep Visit block had no clean way to close when the visit isn't needed, so the block, and any Roof Anchor Installation appointment, stayed open. Found after the fact: KAJ built it first and the record was written from production.
Review
Checked against production through Phoenix on 2026-11-10, after the build.
- Statuses and controls: the button cancels the block; the new auto cancels the appointment. The auto is on the appointment, whose statuses at the time it fires (Ready to Schedule, Pending Event, Day of Appointment) are ACTIVE or ON HOLD, so it fires on a save (ZT-576 only stops autos while their own block is COMPLETE). It isn't timed, so it only runs on a save.
- Gap: an appointment at Ready for Audit isn't canceled, so Visit Not Needed stays grey until the audit finishes. That fits: by then the visit has happened.
- Downstream blocks: none created. Installation is unaffected; the prep visit doesn't gate it.
- Work queues: a canceled block or appointment drops out of the prep-visit queues, such as Scheduling's Installation Prep Visit (Roof Anchors) (ZT-575). No queue rows changed.
- Customer and rep messages: none. The pilot sends no texts or emails.
- Projects in flight: nothing moves until someone fills the two fields.
- Money, integrations, reporting: none.
Admin checklist
As built (see the ticket).
- Fields Safety Anchor Not Needed (Date) and Reason Safety Anchor Not Needed (Text) in a new section Visit Not Needed on Installation Prep Visit.
- Button Visit Not Needed:
(Process Block: Installation Prep Visit) Custom Field: Visit Not Needed-Reason Safety Anchor Not Needed IS NOT NULLAND(Process Block: Installation Prep Visit) Custom Field: Visit Not Needed-Safety Anchor Not Needed IS NOT NULLAND NOTThere is an open (active/on hold) Roof Anchor Installation. Action: block → Canceled. Placed third in Visit Not Needed. - Auto Visit Not Needed - Cancel Event (auto) on Roof Anchor Installation: the two field rules AND the appointment at Ready to Schedule, Pending Event or Day of Appointment. Action: event → Canceled. Placed in the appointment's Automatic Controls.
New SOP
Install Scheduling / Ohio pilot team
- If a job doesn't need roof anchors, fill in Safety Anchor Not Needed and Reason Safety Anchor Not Needed on its Installation Prep Visit block, and save.
- An appointment not yet at Ready for Audit is canceled on that save.
- Click Visit Not Needed. The block is canceled.
Outside Albatross: tell OH - Service - Tavale Easley if the visit was booked.
Rollback
- Archive Visit Not Needed and Visit Not Needed - Cancel Event (auto).
- The fields can stay; they do nothing unused.
Config check
Pass, 2026-11-10 (Claude, Phoenix). Fields, section order, both controls' flags (button: none; auto: auto only), conditions, actions and placement are as listed above. Whether either control has run yet wasn't checked: the control_history query timed out and wasn't retried.