ZT-560 · Permitting: Remove Hold releases Not Ready to Submit early
| Status | Done (KAJ, 2026-11-06) |
| Ticket | ZT-560 |
| Requested by | Michael Lowry (Permitting chat review, Oct 14 – Nov 6; Maria's Oct 19 request); KAJ Jacobs's Permitting click review (2026-11-06), item 4 |
| Made by | KAJ Jacobs, through Claude in Chrome (Albatross audit data, 2026-11-07 00:27–00:30 UTC) |
| Date made | 2026-11-06 |
| Sections affected | 07 · Permitting (Permitting Hold section) |
| Project types | Residential and Battery Only (both use the Permitting block). R&R already has its own Remove Hold (added Oct 29). |
Decisions (KAJ Jacobs, 2026-11-06)
- Remove Hold sends the block to Ready to Submit Permit, the same place the timed Ready to Submit (auto) sends it, so a hold ends the same way whether it's released early or on the date.
- Don't clear the date. Not Ready to Submit requires an Estimated Ready to Submit Date after today (as R&R's hold button does), and Remove Hold doesn't clear it. The old dates stay as a record of the hold.
- As-built holds landing at Ready to Submit Permit (no block work queue) are accepted for now. A separate ticket if it bites; none of the last 10 holds came from Review As-Built and Resubmit (Open Phoenix check 2).
Request
Once a Residential Permitting block is put at Not Ready to Submit, only the timed Ready to Submit (auto) can release it, on the Estimated Ready to Submit Date. If the job is ready early, the team has to ask KAJ. Example: Lynn Dalessandro (27103) was held on Sep 9 and released by hand on Oct 19.
Proposed solution (draft in ZT-560)
- Add a Remove Hold button to the Permitting Hold section, copying R&R's Remove Hold, that moves the block to Ready to Submit Permit.
Review
Checked against production through Phoenix on 2026-11-06 (see the click review, item 4, and 07 · Permitting). No new Phoenix queries were made for this record.
- Statuses and controls:
- Not Ready to Submit (299), repeatable. Condition: Not Ready to Submit Permit and Estimated Ready to Submit Date filled, and block at Ready to Submit Permit or Review As-Built and Resubmit. Actions: block → Not Ready to Submit; resets Ready to Submit (auto).
- Ready to Submit (auto) (300), auto and timed. Condition:
(Process Block: Permitting) System Data: Process Block Object Status EQUAL Not Ready to Submit (Fail if none exist = false)and(Process Block: Permitting) Custom Field: Permitting Hold-Estimated Ready to Submit Date LESS THAN OR EQUAL current Date. Action: block → Ready to Submit Permit. - No manual control leaves Not Ready to Submit. About 10 holds in 60 days, plus two by KAJ on Oct 29.
- The new button reuses the status rule above. It's local to Permitting, and the button is on Permitting, so no copy is needed.
- The draft said "not repeatable". That's wrong: a job can be held more than once, so Remove Hold must be repeatable (R&R's 1422 is).
- Remove Hold doesn't need to reset Ready to Submit (auto): that control only fires at Not Ready to Submit, and Not Ready to Submit already resets it each time a hold is placed.
- Existing gap the button would make worse: the old Estimated Ready to Submit Date stays on the block. If someone places a second hold without changing it, the timed release fires at once (the date is already past). With early release this becomes more likely, because a released job's date is still in the future when it's released and then passes. R&R's hold button avoids this by requiring a future date. Decided: add the same check to Not Ready to Submit (decision 2).
- Downstream blocks: none. Remove Hold creates nothing. The Begin … Permit (auto) controls have already created the Permit Submission tasks before a hold can be placed from Ready to Submit Permit, so nothing new fires on release.
- Fields: no new fields. Not Ready to Submit Permit, Not Ready to Submit Reason and Estimated Ready to Submit Date keep their values (decision 2).
- Work queues:
- Leaving Not Ready to Submit takes the block out of Permitting Hold (7d).
- Ready to Submit Permit has no block work queue. Held jobs from Ready to Submit Permit are still worked through their Permit Submission tasks (task queue Ready to Submit Permit), so that's fine.
- Held jobs from Review As-Built and Resubmit lose their queue on release. Same as today's timed release; accepted for now (decision 3).
- Customer and rep messages: none. Neither the timed release nor the new button sends a message.
- Projects in flight: 14 blocks at Not Ready to Submit (Oct 26 count, not re-counted). Nothing happens to them when the button is added. The team can release any that are ready; the rest are still released on their date.
- Money and integrations: none.
- Reporting: none known. Hold time is still from Not Ready to Submit Permit to the release, in the block audit log.
- Project types: Residential and Battery Only. R&R isn't affected.
Admin checklist
Before you start
- Decided (KAJ, 2026-11-06): Remove Hold goes to Ready to Submit Permit; Not Ready to Submit needs a date after today and Remove Hold doesn't clear it; as-built holds landing at Ready to Submit Permit are accepted for now.
Rules (Permitting block)
- Reuse rule
(Process Block: Permitting) System Data: Process Block Object Status EQUAL Not Ready to Submit (Fail if none exist = false)(already used by Ready to Submit (auto)). - Create rule
(Process Block: Permitting) Custom Field: Permitting Hold-Estimated Ready to Submit Date GREATER THAN current Date(match the wording of the date rule on R&R's Not Ready to Submit; that one is local to R&R Permitting, so create a Permitting copy).
Not Ready to Submit (guard the next hold)
- Edit Not Ready to Submit: add the step 3 rule to its condition with AND. Keep the existing rules.
Remove Hold
- On the Permitting block, create Button Remove Hold. Repeatable. Not auto, not timed.
- Condition: the step 2 rule only.
- Action 1: set block status → Ready to Submit Permit.
- Place it in the Permitting Hold section directly after Not Ready to Submit (position 6).
Test on 28349
- 28349 has no Permitting block: add one (at Ready to Submit Permit). On it, fill Not Ready to Submit Permit and an Estimated Ready to Submit Date a week out, and click Not Ready to Submit. The block moves to Not Ready to Submit.
- Click Remove Hold. The block moves to Ready to Submit Permit, and Remove Hold greys out.
- Set the estimated date to yesterday. Not Ready to Submit stays grey. Set it to tomorrow and click it again: the block goes back on hold (proves the repeat works).
- Leave it on hold overnight with tomorrow's date and confirm Ready to Submit (auto) still releases it to Ready to Submit Permit. Then cancel the test Permitting block on 28349.
New SOP
Permitting team
- To put a job on hold: fill Not Ready to Submit Permit, the reason and an Estimated Ready to Submit Date after today, then click Not Ready to Submit. The job moves to the Permitting Hold queue.
- Use Remove Hold when the job is ready before its estimated date. Open the Permitting block, go to Permitting Hold and click Remove Hold. The job goes to Ready to Submit Permit; carry on with its Permit Submission tasks. No need to ask KAJ.
- If you do nothing, the job is still released automatically on the estimated date.
- To hold the same job again, enter a new estimated date after today. The old date won't work.
Rollback
- Archive Remove Hold.
- Remove the step 3 rule from Not Ready to Submit, so its condition matches the Review section above. The rule can stay; it does nothing when unused.
Open Phoenix checks
Checked against production through Phoenix on 2026-11-06.
- Answered: R&R's Not Ready to Submit (1419) uses
(Process Block: R&R Permitting) Custom Field: Permitting Hold-Estimated Ready to Submit Date GREATER THAN current Date(rule 3807, local to R&R Permitting). Step 3's wording and operator match it; only the block name differs. - Answered: 10 Permitting holds were placed in the last 60 days (Oct 12 to Nov 6), and all 10 came from Ready to Submit Permit. None came from Review As-Built and Resubmit, so as-built holds are a rare case today (decision 3).
- Answered: Not Ready to Submit is at position 5 of the Permitting Hold section (after Not Ready to Submit Permit, Not Ready to Submit Reason, Ready to Submit Permit (hidden) and Estimated Ready to Submit Date). Remove Hold goes at position 6, as in step 8. R&R's section has the same layout with Remove Hold at 6.
- Answered: 28349 has no Permitting block (it has Contract, Installation, Site Survey, Roof Field Work, Safety Audit, M2 Funding, Energization and canceled Correction / Service Work). The test needs a Permitting block added to 28349 first, then canceled afterwards.
- Answered: yes. A Set field value action with an empty value clears a date: Place on Scheduling Hold (controls 990 and 994) sets the date Ready to Schedule to empty today. KAJ chose not to clear it (decision 2), so this isn't used.
Checklist changed by the Phoenix check: test step 9 now starts by adding a Permitting block to 28349 (it has none), and step 12 now cancels that block instead of putting it back.
Checklist changed by KAJ's decisions (2026-11-06): step 1 is decided. No other step changes; the checklist already used the recommended answers.
Config check
Passed, 2026-11-06 (Claude, Phoenix). Everything matches the checklist.
- Not Ready to Submit: repeatable. Condition now also needs Estimated Ready to Submit Date GREATER THAN current Date. Actions unchanged: block → Not Ready to Submit, reset Ready to Submit (auto).
- Remove Hold (new): repeatable button, condition block status = Not Ready to Submit, action block → Ready to Submit Permit. Placed in Permitting Hold, position 6, right after Not Ready to Submit (position 5).
- Ready to Submit (auto): unchanged. It is the timed release, so no separate "Remove Hold (auto)" was built (KAJ asked for one; the agent found this already does it).
- Tests on 28349: steps 9–11 passed. A repeatable button can be clicked again on the same block, and Remove Hold can't be reset by another control (Albatross only resets auto controls), which repeatable makes unnecessary.
- Pending (step 12): the test block on 28349 was knocked off hold by ZT-561's tests and put back on hold by the wave 1 final pass (estimated date 11/08). Check it released after about 5 pm MT on 11/07, then cancel the test Permitting block on 28349.
Finding: dates are compared in UTC. After about 5 pm Mountain, "today" is already tomorrow. So a hold placed late in the day can't use tomorrow's date, and holds release the evening before their date. That's not a build issue. It affects every "current Date" rule, so it needs its own ticket if it matters to the team.
- Step 12 failed (checked 2026-11-09). The test block on 28349 is still at Not Ready to Submit, with an estimated date of 11/08. Ready to Submit (auto) didn't release it on the 11/08 or 11/09 nightly runs. Likely cause: on 11/07 at 00:43 UTC the block was put on hold with the old 11/06 date, so the auto released it straight away. That used its one run on this block. The Not Ready to Submit click at 01:09 should have reset it, but resets have been unreliable before (ZT-531). Not confirmed, because the control's evaluation log times out. Impact: a block held a second time may not release on its date. Remove Hold still works. This is pre-existing, not new in ZT-560.