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:

  1. Revision and as-built Permitting blocks sit with no Permit Submission task, because nobody filled and saved First Permit(s) to be Submitted.
  2. R&R All Permits Approved can be clicked before the permit is approved.
  3. R&R in-person submissions have no R&R button (R&R Permit Submitted hides itself for In-person).
  4. 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).

2. R&R All Permits Approved (control 852).

3. R&R in-person (control 858, R&R Permit Submitted).

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

Admin checklist

Before you start

  1. 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
  2. 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)

  1. 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.
  2. 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 NULL AND NOT There is at least one active or on hold Permit Submission event
  3. 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)

  1. 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)

  1. 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.
  2. 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

  1. 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.
  2. 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).
  3. 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)

  1. 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 NULL AND (Event: R&R Permit Submission) System Data: Project Process Block Event Object Status EQUAL Ready to Submit Permit (Fail if none exist = false).
  2. 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).
  3. 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.
  4. 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:

Rollback

  1. Archive the Fill First Permit(s) to be Submitted, then Save banner.
  2. Remove the inverse "open R&R Permit Submission event" rule from R&R All Permits Approved.
  3. Add (Event: R&R Permitting) Custom Field: Permit Details-Submission Method EQUAL In-person back to R&R Permit Submitted with Inverse Result.
  4. 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).