ZT-588 · Permitting: revision task banner, R&R approval guard, one R&R submit button
| Status | Done |
| Ticket | ZT-588 |
| Requested by | KAJ Jacobs (SOP review, 2026-11-10) |
| Made by | KAJ Jacobs via Chrome agent (Albatross audit data, Nov 10 23:56 UTC – Nov 11 00:30 UTC) |
| Date made | 2026-11-10 |
| Sections affected | 07 · Permitting; 12 · R&R and roofing (R&R Permitting, R&R Permit Submission task) |
| Project types | Residential and Battery Only (Permitting block); R&R (R&R Permitting) |
Request
While checking the Permitting SOP against what the team clicks, four gaps came up:
- Revision and as-built Permitting blocks sit with no Permit Submission task, because nobody filled and saved First Permit(s) to be Submitted.
- R&R All Permits Approved can be clicked before the permit is approved.
- R&R in-person submissions have no R&R button (R&R Permit Submitted hides itself for In-person).
- R&R no-permit jobs that already have a task looked stuck.
Review
Checked in production (Phoenix) on 2026-11-10.
1. Revision blocks with no task (Permitting).
- A revision or as-built arrives on a new Permitting block at Review Revision and Resubmit or Review As-Built and Resubmit. The Permit Submission task is created by the Begin … Permit (auto) controls (e.g. Begin Building Permit (auto)) only after First Permit(s) to be Submitted is filled and the block is saved. Confirmed on 186074 and 186077: the field was saved and the task appeared in the same second.
- 15 live blocks sit at those two statuses with no open Permit Submission task and an empty First Permit(s) to be Submitted. Most are behind Inspection (an as-built not resubmitted). List under Before you start. Only 4 have an earlier Permitting block to copy the permit types from, so the Permitting team decides each one.
- No button or banner tells the user to fill the field.
2. R&R All Permits Approved (control 852).
- Condition is only
(Process Block: R&R Permitting) System Data: Process Block Object Status EQUAL Pending All Permits Approved. R&R Permit Submitted moves the block there (ZT-563 Phase A), so the button shows as soon as the permit is submitted, before approval. - Actions: block → All Permits Approved, project → Installation, R&R Field Work at Ready to Schedule Removal.
- ZT-586 (Phase B, parked) plans a fuller guard (step 27). This change pulls forward only the "no open task" part.
3. R&R in-person (control 858, R&R Permit Submitted).
- Condition includes NOT
(Event: R&R Permitting) Custom Field: Permit Details-Submission Method EQUAL In-person. Today ZT-563 archived the R&R task's empty Scheduled button. - In practice the R&R team submits with Confirm Submission (control 212), the solar Permit Submission button that is also placed on the R&R task screen: 17 clicks on R&R blocks since Oct 1, against 9 for R&R Permit Submitted. It stamps First Permit Submitted (OSC 664) and moves the block to Pending All Permits Approved, like 858.
- KAJ decided (2026-11-10): one submit button for every method. This reverses ZT-563 decision 3.
4. R&R no-permit with an open task. No build needed. Corrected 2026-11-10 after the agent's test: a build is needed (steps 12–15). The R&R task already shows Permit Not Needed (control 216, the solar button, in the Permit Cancellation section next to Event Cancellation Approved By). It cancels the task. It was last used on R&R on Jul 2. With no open task, R&R No Permit Required shows (changed today under ZT-563). SOP only.
Knock-on checks
- Messages: none added or removed. R&R SMS - Permit Submitted (auto) was archived today under ZT-563 (it had no actions).
- Projects in flight: R&R tasks today: 7 at Pending Approval, 2 at Ready to Submit Permit, none at Pending Submission. After step 6, any R&R block at Pending All Permits Approved with a task still pending keeps All Permits Approved grey until that task is approved. That's intended.
- Money and integrations: none. 852 still sets the project to Installation when it runs.
- Project types: the banner is on the Permitting block (Residential and Battery Only). Steps 6–8 are R&R only. Control 212 stays on the solar task.
Admin checklist
Before you start
- Heads-up to Natalie Eldeek (Permitting Manager): work these 15 blocks. For each one, set Rework Type, fill First Permit(s) to be Submitted and Save (the task opens), or post in the Permitting chat if the resubmission was already handled outside Albatross.
Project Block status Previous block's first permits 5258 Frank Joseph Review As-Built and Resubmit none recorded 25453 Justin Long Review Revision and Resubmit none recorded 19632 Robert Farley Review Revision and Resubmit none recorded 968 Tiberio Marcalo Review Revision and Resubmit none recorded 22471 Ricardo Fortune Review As-Built and Resubmit none recorded 22466 Larry Rock (Legal Hold) Review As-Built and Resubmit none recorded 19998 Kyle Gesinski Review As-Built and Resubmit none recorded 7746 Vladimir Bonhomme Review Revision and Resubmit none recorded 3256 Derek Julian Review As-Built and Resubmit Building, Electrical 27412 Mona Pointe Review Revision and Resubmit Zoning 18357 Craig Newberry Review As-Built and Resubmit none recorded 18815 Erin Hurley Review Revision and Resubmit none recorded 17330 Ryan Walsh Review Revision and Resubmit none recorded 28617 Raymond Cruz Sanchez Review As-Built and Resubmit Building 27708 Michael Hay & Morgan Powell (Alder Terrace Gardens) Review As-Built and Resubmit Building - Heads-up to the R&R permitting team: from now on R&R Permit Submitted is the one submit button on R&R, in person too. Confirm Submission comes off the R&R task.
Revision banner (Permitting block)
- On the Permitting block, create a Banner control named Fill First Permit(s) to be Submitted, then Save. Not auto, not timed, not always-on, no actions.
- Set its condition from existing rules (all are local to the Permitting block):
(
(Process Block: Permitting) System Data: Process Block Object Status EQUAL Review Revision and Resubmit (Fail if none exist = false)OR(Process Block: Permitting) System Data: Process Block Object Status EQUAL Review As-Built and Resubmit (Fail if none exist = false)) AND NOT(Process Block: Permitting) Custom Field: Permit Details-First Permit(s) to be Submitted IS NOT NULLAND NOTThere is at least one active or on hold Permit Submission event - Place it in the Permitting block's Permit Details section, at the top (above Revised plans received).
R&R All Permits Approved (R&R Permitting block)
- Edit All Permits Approved on R&R Permitting. Add to its condition, with AND and Inverse Result ticked:
There is at least one active or on hold R&R Permit Submission event(the rule No Permit Required already uses). Keep the existing status rule.
One R&R submit button (R&R Permit Submission task)
- Edit R&R Permit Submitted on the R&R Permit Submission task. On its Enablement tab, delete the rule
(Event: R&R Permitting) Custom Field: Permit Details-Submission Method EQUAL In-person(the one with Inverse Result). Keep the other three rules. - On the R&R Permit Submission task screen, remove Confirm Submission from the Permit Details section. Remove the placement only. Don't archive the control: it's the solar Permit Submission button and solar still uses it.
Test
- On 28349 (solar test), add a Permitting block at Review Revision and Resubmit with First Permit(s) to be Submitted empty. The new banner shows. Fill the field with Building and Save: the Permit Submission task opens and the banner goes. Cancel the block after.
- On 26681 (R&R test), on an R&R Permitting block at Submission Prep, fill Ready to Submit Permit and an Estimated Ready to Submit Date of today and Save: the R&R Permit Submission task opens. Set Submission Method = In-person and fill Permit Submitted By and Expected Permit Approval Date, then Save. R&R Permit Submitted shows and Confirm Submission doesn't. Click it: the task goes to Pending Approval and the block to Pending All Permits Approved. All Permits Approved is grey. Don't click it (it would set the test project to Installation).
-
On 26681, on the same task, fill Event Cancellation Approved By, Save, click Permit Not Needed: the task goes to Canceled.Failed (2026-11-10): the R&R task shows the solar Permit Not Needed, whose rule reads the solar task's Event Cancellation Approved By, so it never lights up on R&R. Replaced by steps 12–15.
R&R Permit Not Needed (added 2026-11-10)
- On the R&R Permit Submission task, create a Button R&R Permit Not Needed. Not auto, not timed, not always-on, not repeatable. Condition:
(Event: R&R Permitting) Custom Field: Permit Cancellation-Event Cancellation Approved By IS NOT NULLAND(Event: R&R Permit Submission) System Data: Project Process Block Event Object Status EQUAL Ready to Submit Permit (Fail if none exist = false). - Actions, in order: Update Local Event Status → Canceled; Update Local Process Block Status → Submission Prep (so R&R No Permit Required shows; Ready to Submit (auto) won't fire again, it has no Allow Reset Run Flag).
- In the R&R task's Permit Cancellation section, place R&R Permit Not Needed under Event Cancellation Approved By, and remove the placement of the solar Permit Not Needed from that section. Don't archive the solar control.
- Test on 26681: cancel the step 10 leftovers (block at Pending All Permits Approved, task at Pending Approval). Add a new R&R Permitting block at Submission Prep, fill Ready to Submit Permit and Estimated Ready to Submit Date = today, Save (task opens, block → Ready to Submit Permit). Fill Event Cancellation Approved By, Save, click R&R Permit Not Needed: task → Canceled, block → Submission Prep, no new task, No Permit Required shows. Don't click it. Cancel the test block.
New SOP
Already written into the Permitting SOP (ZT-572), so post the SOP after this is built:
- Permitting team, revisions: on a revision or as-built block, set Rework Type, fill First Permit(s) to be Submitted and Save. The task opens. The banner reminds you until you do.
- R&R permitting: R&R Permit Submitted for every submission, in person too. Approve the task with R&R Permit Approved first: All Permits Approved stays grey until no task is open. No permit after all: Permit Not Needed on the task, then No Permit Required on the block.
Rollback
- Archive the Fill First Permit(s) to be Submitted, then Save banner.
- Remove the inverse "open R&R Permit Submission event" rule from R&R All Permits Approved.
- Add
(Event: R&R Permitting) Custom Field: Permit Details-Submission Method EQUAL In-personback to R&R Permit Submitted with Inverse Result. - Place Confirm Submission back in the R&R task's Permit Details section.
Config check
Checked in production 2026-11-10, after the browser agent's run (made as KAJ Jacobs).
- Steps 3–5 match. Control 1659 Fill First Permit(s) to be Submitted, then Save: banner, no flags, condition (status Review Revision and Resubmit OR Review As-Built and Resubmit) AND First Permit(s) empty AND no open Permit Submission task. Placed first in Permitting's Permit Details, above Revised plans received. The agent gave it body text (its own name) because an empty banner shows nothing. Kept.
- Step 6 matches. R&R All Permits Approved: status Pending All Permits Approved AND NOT open R&R Permit Submission task.
- Step 7 matches. R&R Permit Submitted: task at Ready to Submit Permit AND Permit Submitted By AND Expected Permit Approval Date. The In-person rule is gone.
- Step 8 matches. Confirm Submission's placement on the R&R task is archived; the control and its solar placement are live.
- Test 9 passed on 28349 (test block and task canceled). Rework Type filled itself with As-Built on save: that's Populate As-Built (auto) firing, because 28349 has an approval date and Installation Started. Expected.
- Test 10 passed on 26681 (in person submits, Confirm Submission gone, All Permits Approved grey). Test 11 failed: see steps 12–15.
- Steps 12–15 match (checked after the second agent run). Control 1660 R&R Permit Not Needed: button, no flags, condition Event Cancellation Approved By (R&R task, new local rule 4331, since the older look-alike rule 2572 sits on the solar task and can't be picked) AND task at Ready to Submit Permit. Actions: task → Canceled, block → Submission Prep. Placed second in the R&R task's Permit Cancellation; the solar Permit Not Needed placement there is archived, and the control and its solar placement are live.
- Test 15 passed on 26681: task canceled, block back at Submission Prep, no new task, No Permit Required green. All test blocks and tasks on 26681 and 28349 are canceled.
- Extra found in testing: after the last open task on an R&R block is closed, All Permits Approved turns green even if nothing was approved. Left for ZT-586 (Phase B's "one approved" check).
- Old archived R&R Permit Not Needed (860) left in the archive.