ZT-565 · On-hold jobs stay in the permit approval queues, and Permitting is told

Status Done (KAJ, 2026-11-06)
Ticket ZT-565
Requested by Michael Lowry (Permitting chat review, Oct 14 – Nov 6); click review item 10 (KAJ Jacobs, 2026-11-06)
Made by KAJ Jacobs, through Claude in Chrome (Albatross audit data, 2026-11-07 00:30–00:55 UTC)
Date made 2026-11-06
Sections affected 07 · Permitting (Permitting block, Permit Submission task); 12 · R&R Permitting (R&R Permit Submission task rows on the same queue)
Project types Residential and Battery Only (Permitting block). R&R only if the Open Phoenix check below shows its rows need it.

Decisions (Michael Lowry, 2026-11-06)

  1. On-hold jobs stay out of the submission queues.
  2. Already-submitted jobs stay in the pending approval queues while on hold.
  3. The Permitting Manager is notified when a submitted job goes on hold.

Decisions (KAJ Jacobs, 2026-11-06)

  1. Notification statuses: the queues get all six hold statuses; the notification leaves out Pending Engineering Review (set by Permitting's own rejection buttons) but keeps Pending Revision (no Permitting button sets it: Open Phoenix check 3).
  2. Cancellation in Progress stays out of the queues and the notification. Cancellations have Close Open Permits and the Post-Cancellation Permit Check queue.

Request

When a project goes on hold, it drops out of every Permitting queue, including the approval queues. Permits already at the AHJ stop being tracked. That caused most of the "no active department" requests: 14 projects held on Oct 14 and released by hand on Oct 30 and Nov 4, and 28520 at Pending Revision. Nobody in Permitting is told when a submitted job goes on hold.

Proposed solution (ticket draft): add the on-hold project statuses to the two approval queues, keep them out of the submission queues, and add one auto control that notifies the Permitting Manager.

Review

Checked against production through Phoenix on 2026-11-06 (ticket evidence and the click review, item 10). No new Phoenix queries for this record.

Admin checklist

Before you start

  1. Decided (KAJ, 2026-11-06): (a) the six queue statuses: On Hold, Pending Revision, Pending Engineering Review, Pending Change Order, Sales Hold, Legal Hold (not Cancellation in Progress); (b) the notification leaves out Pending Engineering Review and keeps Pending Revision.
  2. Confirm the notification goes to the Permitting Manager position, and tell them to expect up to 3 notifications for current jobs when step 9 is built.
  3. Heads-up to ZT-562 (task 07): this ticket only adds rows to Pending All Permits Approved and Pending Permit Approval. It doesn't touch the Finalized rows or row 2372.

Queues (add each status as a separate project-status row, the same way Finalized was added on Oct 14. Don't add an ON HOLD base row: it would also bring in Cancellation in Progress.)

  1. Queue Pending All Permits Approved, Permitting block rows: add project statuses On Hold, Pending Revision, Pending Engineering Review, Pending Change Order, Sales Hold, Legal Hold.
  2. Queue Pending Permit Approval, Permit Submission task rows: add the same six project statuses.
  3. Queue Pending Permit Approval, R&R Permit Submission task rows: add the same six project statuses. (Phoenix check: the existing ON HOLD row isn't a project-status filter, so on-hold R&R jobs are hidden today.)
  4. Submission queues Ready for Submission Prep, Review Revision and Resubmit, Review As-Built and Resubmit, Ready to Submit Permit and Pending Permit Submission: add nothing, and leave the ON HOLD row on Pending Permit Submission (Phoenix check: it isn't a project-status filter).

Notification (Permitting block)

  1. Create a global rule for the project status, built as (Project) System Data: Project Object Status IN On Hold, Pending Revision, Pending Change Order, Sales Hold, Legal Hold. If the rule builder has no IN, use OR of single EQUAL rules and reuse the existing (Project) System Data: Project Object Status EQUAL On Hold.
  2. Create control Notify Permitting – On Hold After Submission (auto) on the Permitting block: Button, auto, not repeatable. Condition, with AND: the step 8 rule; the existing (Project) Custom Field: Project Milestones-First Permit Submitted IS NOT NULL ; and the existing (Process Block: Permitting) System Data: Process Block Object Status EQUAL Pending All Permits Approved (Fail if none exist = false).
  3. Add its action: Notify position Permitting Manager: "Project placed on hold after permit submission. Check the permit at the AHJ." No field is set.
  4. Place it in the Permitting block's Automatic Controls section. It fires once per block; a second hold on the same job won't notify.

Test on 28349 (canceled test project)

  1. On 28349, have a Permitting block at Pending All Permits Approved with First Permit Submitted filled and a Permit Submission task at Pending Approval. Set the project status to Pending Engineering Review: the block and task show in the approval queues, and no notification is sent.
  2. Set the project status to Pending Change Order. Confirm: the block shows in Pending All Permits Approved, the task shows in Pending Permit Approval, the Permitting Manager got the notification, and 28349 isn't in Ready to Submit Permit or Pending Permit Submission.
  3. Set it to Sales Hold: no second notification (it fires once per block).
  4. Set 28349 back to Canceled and cancel any test task or block.

New SOP

Permitting Manager

  1. When you get "Project placed on hold after permit submission", open the project and check the permit at the AHJ.
  2. Decide whether to keep it, request an extension or withdraw it. Write the decision in the Permitting queue note.
  3. You get one notification per job. If a job goes on hold a second time, you won't be told again.

Permitting team

  1. On-hold jobs with a permit already submitted stay in Pending All Permits Approved and Pending Permit Approval. Keep tracking them. Use the queue note to say why the job is on hold.
  2. Jobs put on hold before submission don't show in the submission queues until the hold is lifted. Don't submit a permit for an on-hold job.

Reporting (heads-up, outside Albatross): approval-queue counts now include on-hold jobs.

Rollback

  1. Remove the project-status rows added in steps 4–7 (restore the Pending Permit Submission ON HOLD row if it was removed).
  2. Archive Notify Permitting – On Hold After Submission (auto). The rule can stay.

Open Phoenix checks

Checked against production through Phoenix on 2026-11-06.

  1. Answered: not a project-status filter. Rows 2743–2746 (R&R) follow the same pattern as the Residential rows 92–95 (ACTIVE, ACTIVE, ON HOLD, Pending Approval). The queue log shows the project filter is ACTIVE only: Permit Submission tasks at Pending Approval on 26172 (Pending Change Order), 28949 (Sales Hold) and 28992 (Pending Revision) are not in Pending Permit Approval today, and no project with an ON HOLD status is in that queue (it holds Installation Prep, Inspection, Installation, Engineering, Qualification and one Finalized project, which came in through the explicit Finalized row 2364). So the ON HOLD row is the block's or task's base status, not the project's. R&R tasks on on-hold projects are hidden too, so step 6 must add the six statuses to the R&R rows. No R&R task is at Pending Approval on an on-hold project today.
  2. Answered: not a project-status filter. Pending Permit Submission (rows 88–91: ACTIVE, ACTIVE, ON HOLD, Pending Submission) has the same pattern, so its ON HOLD row isn't letting on-hold projects in. Pending Submission itself has an ON HOLD base. Leave the row (step 7 removes nothing). The queue is empty today.
  3. Answered: Pending Revision is set only by Needs Revised Plans (auto) (Scope Review, 302) and Update Project Status: Pending Revision (auto) (Change Order, 329). No Permitting button sets it, so the notification keeps Pending Revision, as in the default. Note that 302 can follow an Engineering rejection's rework, so a job rejected to Engineering can still notify later at Pending Revision. Pending Engineering Review is set by 11 buttons, including two Permitting ones: Permit Rejected - Engineering Review (214) and Reject Plan Set (591, Permitting block). That supports leaving it out.
  4. Answered: 9 Permit Submission tasks at Pending Approval sit on 6 projects in the six hold statuses: 26172 (2 tasks), 28949 (2), 28992 (2), 6204 (On Hold, block already All Permits Approved), 10514 (On Hold, block at Ready to Submit Permit), 19702 (On Hold, block at Not Ready to Submit). They'll appear in Pending Permit Approval after step 5. A 10th, 28747, is at Cancellation in Progress and stays out. First Permit Submitted is filled on 26172 (2026-10-27), 28949 (2026-10-28), 28992 (2026-11-03) and 27181 (2026-09-01), so 26172, 28949 and 28992 will notify on build (27181 is at Pending Engineering Review, excluded).
  5. Answered: reuse (Process Block: Permitting) System Data: Process Block Object Status EQUAL Pending All Permits Approved (Fail if none exist = false) (rule 432, local to Permitting, so usable on the new control). A project-status IN rule already exists, so the builder supports IN: (Project) System Data: Project Object Status IN Pending Engineering Review, Pending Revision (rule 3527). The global (Project) System Data: Project Object Status EQUAL On Hold is rule 1149.
  6. Answered: Permitting Manager has one active user, Natalie Eldeek (primary position, Permitting). The Notify action supports a position recipient (used by 4 existing actions).

Checklist changed by the Phoenix check: step 6 is no longer "skip if": add the six statuses to the R&R rows. Step 7: leave the Pending Permit Submission ON HOLD row in place. Step 9 names rule 432 for the block status.

Checklist changed by KAJ's decisions (2026-11-06): step 1 is decided; step 8 keeps Pending Revision in the notification rule.

Config check

Partial, 2026-11-06 (Claude, Phoenix). Queues pass; the alert doesn't fire yet.