ZT-606 · R&R Removal / Reinstall / Reroof: wrong-scope rules, Exception routing, guards
| Status | Done |
| Ticket | ZT-606 |
| Requested by | Field Audit (Michael Wnetrzak's R&R Removal, project 29036, couldn't be marked Audit Passed) |
| Made by | KAJ Jacobs (Albatross audit data, user 2284), 2026-11-12 21:11–23:29 UTC, via a browser agent |
| Date made | 2026-11-12 |
| Sections affected | 12 · R&R and roof |
| Project types | R&R / Roof |
Request
Field Audit couldn't press Audit Passed - Complete Event on an R&R Removal. A full audit of the R&R Removal, R&R Reinstall and Reroof events and the R&R Field Work and Roof Field Work blocks found 14 issues. The main pattern: rules pointing at Install statuses or at the other event's fields, so buttons never lit up, and Exception buttons that were always clickable and sent the block to the wrong status.
Recorded after the fact on 2026-11-17 from the ticket and Phoenix. The ticket was the review and checklist; no separate record was written at the time.
Review
From the ticket (KAJ Jacobs, 2026-11-12).
- Convention: project-level fields can be reused anywhere, but event- and block-scoped rules can't be shared across events. New rules use scope prefixes
PROJECT | …,EVT <event> | …,PB <block> | …. - Dead legacy buttons left as they are: R&R Field Work Order Materials (986) and Delivery Date Confirmed (987), off the layout since Jul 8; Roof Field Work Field Audit Passed (993), off the layout since May 13. Roofing completion is confirmed by Lynzi / the roofing agent, not Field Audit.
Admin checklist
All applied in production on 2026-11-12.
- R&R Removal › Audit Passed - Complete Event: remove
Removal Completed IS NOT NULL(the button stamps that date itself, so it could never pass); addEVT R&R Removal | Panel Removal Audit Result = Removal Complete. - R&R Removal › Called Off: replace the "Install in Progress" rule with R&R Removal status = Removal Started.
- R&R Removal › Exception - Schedule Another Visit: reason rules now read the Removal's own fields (
EVT R&R Removal | Not Started Reason IS NOT NULL/… Incomplete Reason IS NOT NULL), and it also needs Removal Outcome not Work Complete. - R&R Reinstall › Ready for Audit: turn off Always Enabled; condition R&R Reinstall status = Work Started.
- R&R Reinstall › Called Off: same Work Started rule.
- Remove Install Appointment controls Ready for Audit (auto) (233), Audit Complete (auto) (234) and Done for the Day (748) from the R&R Removal and R&R Reinstall layouts (not archived).
- R&R Removal › Exception - Schedule Another Visit: add action block → Ready to Schedule Removal (Duplicate Event already makes the new visit).
- R&R Reinstall › Exception - Schedule Another Visit: block action now Ready to Schedule Reinstall (was Ready to Schedule Return Visit); needs
EVT R&R Reinstall | Not Started Reasonor… Incomplete Reason. - Reroof › Exception - Schedule Another Visit: turn off Always Enabled; needs Reroof Ready for Audit and
EVT Reroof | Not Started Reasonor… Incomplete Reason. - R&R Removal › Ready for Audit: needs Removal Started (had no rules).
- Reroof › Cancel Event: turn off Always Enabled; needs
EVT Reroof | Cancellation Approved By IS NOT NULL. - Roof Field Work › Create In-house Roof Event: (Ready to Schedule or Return Visit) and not
Roofing Party = Roofixand not new global ruleRoofing Party = Customer's Contractor.
New SOP
- Field Audit: R&R Removal Audit Passed now needs Panel Removal Audit Result = Removal Complete. To send a visit back, fill Not Started Reason or Incomplete Reason first; Exception - Schedule Another Visit then appears and puts the job back in the right Ready to Schedule status.
- Scheduling / Roofing: Create In-house Roof Event no longer shows for Roofix or customer's-own-roofer jobs. Reroof Cancel Event needs Cancellation Approved By.
Rollback
- Put back the old rule or Always Enabled flag on the control concerned (old rules weren't archived).
Config check
Checked in production (Phoenix) on 2026-11-17. All 12 steps match. Also in the same window, not listed on the ticket:
- Day Of (auto) on R&R Reinstall and Reroof are now auto + timed (the docs had them as timed only, so they never fired). R&R Removal's Day Of (auto) now uses
EVT R&R Removal | Status = Pending Removaland start date today. Edited 23:25–23:29 UTC. - Open (from the ticket): test-project run on 28349 not yet reviewed against the database. R&R Removal / Reinstall Cancel Event only cancels the visit, so the block stays Pending… with no new visit (moved to ZT-608, parked). Optional clean-up: duplicate Reroof rules 2438/2439/2442 and 2026, legacy controls 986/987, and Mark ESC Permit Approved (auto) (605) sitting on the R&R Permit Submission layout.