ZT-564 · Request Permit Extension: close tasks that aren't needed, and stop Inspection getting stuck
| Status | Done (2026-11-10); overnight auto check due 2026-11-11 |
| Ticket | ZT-564 |
| Requested by | Michael Lowry (Permitting chat review, Oct 14 – Nov 6); scope extended by KAJ Jacobs's Permitting click review (2026-11-06, item 8) |
| Made by | KAJ Jacobs (Albatross audit data: 2026-11-09 23:53 UTC – 2026-11-10 15:57 UTC). Asked by Michael Lowry. |
| Date made | 2026-11-09 to 2026-11-10 |
| Sections affected | 01 · Project level (Permit Expiring (auto), Request Permit Extension task); 09 · Inspection; 12 · R&R Inspection; 07 · Permitting (one rule on Permits Complete, built under ZT-573) |
| Project types | Residential and Battery Only (project-level task and Inspection block). R&R through R&R Inspection (same task, its own Needs Permit Extension and auto). |
Decisions (KAJ Jacobs, 2026-11-06)
- Queue for Pending Permit Extension: Not Ready to Schedule Final Inspection (14-day SLA), for both Inspection and R&R Inspection.
- Permit Expiring (auto) guard: use
(Project) Custom Field: Project Milestones-All Permits Approved IS NOT NULL, notnot There is an Active Permitting Block, so warnings carry on while a revision or as-built block is open. - Close - Permit Already Finaled: a required reason is enough. All Inspections Passed isn't required.
- 30 days confirmed: Permits Complete needs Permit Expiration Date more than 30 days out on every approval, first-time, revision and as-built alike (ZT-573 decision 6). About 1% of recent approvals would have been blocked (Open Phoenix check 6); those need an extension first.
- AHJ Research note (24024): the AHJ Research task's Update Database button marks the task Complete; that's how a job leaves the AHJ research queue. Note text: "When you've updated the AHJ record, click Update Database. It completes this task and removes it from the queue." Open Phoenix check 10 found the button is called Database Updated; Conduct Research and Update Database and Review Notes and Update Database are the task's statuses, not buttons. Step 16 uses the real name.
Request
Stop extension tasks staying open when nobody needs them, stop the wrong close button from being used, and stop Inspection from being stranded at Pending Permit Extension, a status no queue shows.
- 28324 (Adam Myers): a typo in Permit Expiration Date created an extension task in the same second. Nothing closed it once the date was fixed.
- 28741 (Charlene Anderson): Not Needed - Permit Finaled/Closed was clicked when an extension was needed. Inspection stayed at Pending Permit Extension and the job dropped out of every queue.
- 24024: Amanda couldn't clear the AHJ Research task; the team didn't know about the "updated database" button.
Proposed solution (click review, item 8)
- Permit Expiring (auto): don't fire while the permit is still being worked.
- New task auto Expiration Date Updated (auto) closes the task once the date is more than 21 days out.
- Give Not Needed - Permit Finaled/Closed a condition and a clearer name.
- Extension Not Needed - Ready to Submit As-Built also closes the task.
- Put Pending Permit Extension in a queue, and let Permit Extension Complete (auto) release Inspection when the task is closed for any reason (Inspection and R&R Inspection).
- Permits Complete requires the expiration date more than 30 days out (task 01 builds it).
- Clean up the 9 parked Inspection blocks by hand.
- AHJ Research: a one-line note about the "updated database" button.
Review
Checked against production through Phoenix on 2026-11-06 (see the click review, item 8). No new Phoenix queries were made for this record.
- 28324 is confirmed: a typo, not a stale date. Permit Expiration Date was typed as 2026-10-23 at 14:17:39 on Oct 28. Permit Expiring (auto) created the task in the same second. The date was fixed to 2027 six seconds later and Permits Complete was clicked, but the task stayed open until KAJ closed it at 20:09. So the draft's "Before you start: check 28324" is done, and the draft's step 3 (stamp the date on approval) becomes steps 5 to 7 and the Permits Complete rule below.
- Statuses and controls (project level):
- Permit Expiring (auto) (Residential, auto and timed):
(Project) Custom Field: Project Milestones-Permit Expiration Date LESS THAN OR EQUAL 14AND the date IS NOT NULL AND not Canceled AND not Finalized AND not All Inspections Passed. Creates the task at To Do. It fires once per project; Permit Extension Granted and Permits Complete reset it. - It doesn't check whether the permit is still being worked, so a typo while entering a new permit fires it.
- Why All Permits Approved rather than "no active Permitting block": project All Permits Approved (OSC 666) is empty until the first permit is approved, so the typo case on a first-time permit can't fire, and with the new Permits Complete rule a past date can't be saved with the approval. Once the first permit is approved, warnings carry on during revision and as-built Permitting blocks, which is when an extension is most likely needed. A typo during a revision can still create a task, but Expiration Date Updated (auto) closes it as soon as the date is fixed. The rule is global and already used elsewhere.
- Permit Expiring (auto) (Residential, auto and timed):
- Request Permit Extension task buttons:
- Permit Extension Granted: needs Requested, Requested By and Granted, and the date more than 21 days out. Task → Complete; resets Permit Expiring (auto) and Permit Extension Complete (auto). Unchanged.
- Extension Not Needed - Ready to Submit As-Built: no active Permitting block and Installation Started filled. Opens Permitting at Review As-Built and Resubmit. Doesn't close the task. Add task → Complete.
- Not Needed - Permit Finaled/Closed: always-on, no condition, task → Complete. Becomes Close - Permit Already Finaled, needing the task at To Do and a reason.
- New: Expiration Date Updated (auto). The rule
(Project) Custom Field: Project Milestones-Permit Expiration Date GREATER THAN 21is local to this task, so it can be reused here as is.- Risk found in review: when Inspection's Needs Permit Extension creates the task, Albatross may still show a date far in the future (the AHJ says it's expired, the CRM doesn't know). The auto would close the task the moment it opens and, with step 9, release Inspection straight away. So the auto must not fire while Inspection or R&R Inspection is at Pending Permit Extension. Those tasks close only through Permit Extension Granted or Close - Permit Already Finaled, as today.
- It also resets Permit Expiring (auto), as Permit Extension Granted does, so the next expiry warns again. Note the 2026-11-05 caution in
tools/DOC-GUIDE.md: a reset auto didn't fire again in a test (ZT-531). Test it.
- Inspection (and R&R Inspection):
- Needs Permit Extension (Inspection block, Final Inspection event, R&R Inspection block, R&R Inspection event) parks the block at Pending Permit Extension (ON HOLD) and creates the task. That status has no work queue.
- Permit Extension Complete (auto) (Inspection; R&R Inspection) needs
(Event: Request Permit Extension) Custom Field: Task Details-Permit Extension Granted IS NOT NULLand the block at Pending Permit Extension. Block → Ready to Schedule Final Inspection (Ready to Schedule on R&R). - Widen it: also fire when no Request Permit Extension task is still at To Do and no Permitting block is active. The Permitting check keeps Inspection parked (now visible in a queue) while an as-built opened by Extension Not Needed - Ready to Submit As-Built is in progress, and releases it once that block finishes.
- Reset gap found in review: an auto fires once per block. Today Permit Extension Granted resets Permit Extension Complete (auto) just before it needs to fire. On the new path (task closed some other way) nothing resets it, so a second extension on the same block would strand Inspection again. Fix: each Needs Permit Extension button also runs Reset Other Control on its Permit Extension Complete (auto). Check that both autos have Allow Reset Run Flag ticked (they must, since 769 resets them today).
- This changes an auto control's condition, so staging first is offered (CLAUDE.md step 3).
- Downstream blocks: Extension Not Needed - Ready to Submit As-Built still opens Permitting at Review As-Built and Resubmit. No other block reads the task's status today. The widened autos read the global
There is an Active Permitting Block. - Fields: Close - Permit Already Finaled needs a reason. Open Phoenix check 2 says whether the task has a notes or reason field to reuse; if not, create Extension Not Needed Reason (Text) in the task's Task Details section. No other field changes.
- Work queues: add Pending Permit Extension (Inspection and R&R Inspection) to Not Ready to Schedule Final Inspection (14-day SLA, decision 1). Whether the Request Permit Extension task itself sits in a Permitting queue is Open Phoenix check 4. Nothing removed.
- Customer and rep messages: none of the controls touched send SMS, email or notifications. Releasing Inspection to Ready to Schedule Final puts the job back in Ready to Schedule Final w/ Customer, so the Inspection team calls the homeowner as normal.
- Projects in flight:
- Parked at Pending Permit Extension (9): 7746 and 21617 (task closed, Inspection still parked); 968, 21206 and 4062 (task open); 2303, 19789 and 7397 (Canceled projects); 12415 (Finalized).
- Once the widened auto is live, 7746 and 21617 will release on their next save (task not at To Do). If no Permitting block is open, they go to Ready to Schedule Final Inspection. Check them first (step 1).
- 968, 21206, 4062 show in the new queue and follow the normal task path.
- 2303, 19789, 7397, 12415: cancel the Inspection block by hand so they don't release into a live queue.
- Open extension tasks: 22 open as of Oct 26 (includes canceled projects, not re-counted). Any with the date already more than 21 days out and no parked Inspection close on the project's next save once Expiration Date Updated (auto) is live. That's intended (stale tasks), but count them first (Open Phoenix check 5).
- Money and integrations: none. No pay, funding or integration control reads these statuses or the task.
- Reporting: fewer open extension tasks and a new reason field. Nothing known filters on Pending Permit Extension. Ask whoever reports on Inspection backlog: the 8 to 9 parked jobs will now show.
- Project types: Permit Expiring (auto) is on the Residential object type. Whether Battery Only and R&R have their own copy is Open Phoenix check 1. R&R Inspection gets the same queue, auto and reset changes.
- Overlap with ZT-573 (Permits Complete, control 262): ZT-573 owns that control's condition. Its checklist adds the rule
(Project) Custom Field: Project Milestones-Permit Expiration Date GREATER THAN 30(create as global). This checklist only points to it (step 14). Permits Complete already resets Permit Expiring (auto), so after a new approval the next expiry warns again.
Admin checklist
Before you start
- Check the 9 Inspection blocks at Pending Permit Extension. Cancel the Inspection block on 2303, 19789, 7397 (Canceled projects) and 12415 (Finalized). For 7746 and 21617 (task already closed), decide with the Inspection team whether the extension was granted; if so, move Inspection to Ready to Schedule Final Inspection by hand. Leave 968, 21206 and 4062 to the normal task path.
- Decided (KAJ, 2026-11-06): Pending Permit Extension goes in Not Ready to Schedule Final Inspection (Inspection and R&R Inspection).
Rules (create global unless noted)
- Create global rule
(Event: Request Permit Extension) System Data: Project Event Object Status EQUAL To Do (Fail if none exist = false). - Create a global copy of
(Process Block: Inspection) System Data: Process Block Object Status EQUAL Pending Permit Extension (Fail if none exist = false), and of(Process Block: R&R Inspection) System Data: Process Block Object Status EQUAL Pending Permit Extension (Fail if none exist = false). The existing ones are local to Inspection and R&R Inspection. - The Request Permit Extension task has no notes or reason field: create field Extension Not Needed Reason (Text) and add it to the task's Task Details section, above the buttons. Then create rule
(Event: Request Permit Extension) Custom Field: Task Details-Extension Not Needed Reason IS NOT NULL.
Permit Expiring (auto) (project level)
- Edit Permit Expiring (auto): add
(Project) Custom Field: Project Milestones-All Permits Approved IS NOT NULL(existing, global) with AND. Keep every existing rule.
Request Permit Extension task
- Create control Expiration Date Updated (auto) on the Request Permit Extension task: Button, auto, not timed, not repeatable. Condition:
(Project) Custom Field: Project Milestones-Permit Expiration Date GREATER THAN 21(existing, local to this task) AND the step 3 rule AND NOT the Inspection rule from step 4 AND NOT the R&R Inspection rule from step 4. - Add its actions, in order: (a) set task status → Complete; (b) Reset Other Control → Permit Expiring (auto).
- Place it in the task's automatic-controls section (hidden from users, like other autos).
- Edit Not Needed - Permit Finaled/Closed: rename it Close - Permit Already Finaled, untick always-on, and set the condition to the step 3 rule AND the step 5 rule (or the existing reason/notes field's IS NOT NULL rule). Keep its action (task → Complete).
- Edit Extension Not Needed - Ready to Submit As-Built: add action set task status → Complete, after the existing Create block Permitting action.
Inspection and R&R Inspection
- Edit Permit Extension Complete (auto) on Inspection. New condition:
(Process Block: Inspection) Process Block Object Status EQUAL Pending Permit ExtensionAND ((Event: Request Permit Extension) Custom Field: Task Details-Permit Extension Granted IS NOT NULLOR ( NOT the step 3 rule AND NOTThere is an Active Permitting Block) ). Confirm Allow Reset Run Flag is ticked. Do the same on R&R Inspection's Permit Extension Complete (auto), with its own status rule and, in place ofThere is an Active Permitting Block(which only reads the Residential Permitting block), a new global rule There is an Active R&R Permitting Block:(Process Block: R&R Permitting) System Data: Process Block Object Status IN Submission Prep, Ready to Submit Permit, Pending All Permits Approved, Not Ready to Submit, Review Revision and Resubmit, Disposition Initial Work, Pending R&R Approval, Pending Roof Permit Approval, Pending Permit Revision, Fail if none exist ticked (as on rule 689). - Add action Reset Other Control → Permit Extension Complete (auto) to each Needs Permit Extension: on the Inspection block, the Final Inspection event, the R&R Inspection block and the R&R Inspection event (each resets the auto on its own block).
Permits Complete (owned by ZT-573)
- Confirm ZT-573's checklist adds
(Project) Custom Field: Project Milestones-Permit Expiration Date GREATER THAN 30(new, global) to Permits Complete with AND, for every approval (decision 4). Don't edit Permits Complete from this ticket.
Queues and notes
- Add Pending Permit Extension (Inspection) and Pending Permit Extension (R&R Inspection) to the Not Ready to Schedule Final Inspection queue.
- On the AHJ Research task, add a Banner (no condition) next to the Database Updated button. Text: "When you've updated the AHJ record, fill in AHJ Database Fully Updated, then click Database Updated. It completes this task and removes it from the queue."
Test on 28349 (staging first, if you want, since steps 6, 7 and 12 change autos)
- With All Permits Approved empty, set Permit Expiration Date to 10 days out and save. No extension task is created. Clear the date.
- With All Permits Approved filled, set the date 10 days out: a task opens. Change the date to 60 days out and save: the task goes to Complete on its own. Set it to 10 days out again: a new task opens (proves the reset worked). If it doesn't, note it against the ZT-531 reset issue.
- Open Inspection, click Needs Permit Extension with the date 60 days out. The task stays open (Expiration Date Updated doesn't fire), Inspection sits at Pending Permit Extension and shows in the queue.
- Close - Permit Already Finaled is grey until the reason is filled. Fill it and click: task → Complete, and Inspection moves to Ready to Schedule Final Inspection.
- Click Needs Permit Extension again on the same block, then Permit Extension Granted on the new task: Inspection moves on again (proves step 13).
- Cancel the test tasks and blocks on 28349, and clear the dates you set.
New SOP
Permitting team (Request Permit Extension task)
- AHJ granted an extension: fill Requested, Requested By, Granted and the new Permit Expiration Date, then click Permit Extension Granted. Inspection moves on by itself.
- Permit is already finaled or closed by the AHJ: write the reason, then click Close - Permit Already Finaled. Don't use it if the permit still needs an extension; the job goes back to Inspection's schedule list.
- Installation is done and an as-built is needed instead: click Extension Not Needed - Ready to Submit As-Built. The task closes and an as-built Permitting block opens.
- Task opened by a typo, or after you entered a new permit: correct Permit Expiration Date. If it's more than 21 days out, the task closes by itself. You don't need to click anything.
- When approving a permit with Permits Complete (first-time, revision or as-built), the Permit Expiration Date must be more than 30 days out, or the button stays grey. If it expires sooner, get the extension first.
Inspection team
- Jobs waiting on an extension now show in Not Ready to Schedule Final Inspection at Pending Permit Extension. Chase Permitting if one sits there.
- When the extension task is closed, Inspection moves to Ready to Schedule Final Inspection by itself, unless an as-built permit is still in progress. Then it waits until that permit is approved.
AHJ Research (Deal Review / Permitting): when you've updated the AHJ record, fill in AHJ Database Fully Updated and click Database Updated. It completes the task and removes it from the queue (see the banner).
Reporting (heads-up, outside Albatross): about 9 Inspection jobs that were hidden at Pending Permit Extension will appear in the Not Ready to Schedule Final Inspection queue.
Rollback
- Remove the All Permits Approved rule from Permit Expiring (auto).
- Archive Expiration Date Updated (auto).
- Rename Close - Permit Already Finaled back to Not Needed - Permit Finaled/Closed, tick always-on and clear its condition.
- Remove the added task → Complete action from Extension Not Needed - Ready to Submit As-Built.
- Put both Permit Extension Complete (auto) conditions back to Granted AND Pending Permit Extension; remove the Reset actions from the four Needs Permit Extension buttons.
- Take Pending Permit Extension out of the queue. New rules and the reason field can stay; they do nothing unused.
Open Phoenix checks
Checked against production through Phoenix on 2026-11-06.
- Answered: Residential only. Permit Expiring (auto) (1203) is the only copy, on the Residential object type, and its two date rules are local to Residential. Battery Only and R&R have no expiry warning at all today. Not changed here; a copy for them would be a separate ticket.
- Answered: no reason field. Task Details has Permit Extension Requested, Requested By, Granted, two mirrors (one is the project Permit Expiration Date) and the three buttons. Step 5 applies: create Extension Not Needed Reason.
- Answered:
- No status rule exists for the Request Permit Extension task. Albatross's wording for a project task status is
(Event: <task>) System Data: Project Event Object Status EQUAL To Do (Fail if none exist = false)(e.g. rule 3944 on Enphase Access). Step 3 uses that wording. (Process Block: Inspection) System Data: Process Block Object Status EQUAL Pending Permit Extension (Fail if none exist = false)(1363) is local to Inspection, and(Process Block: R&R Inspection) System Data: Process Block Object Status EQUAL Pending Permit Extension (Fail if none exist = false)(2332) is local to R&R Inspection. Step 4's global copies are needed.There is an Active Permitting Block(689, global) reads only the Residential Permitting block, not R&R Permitting. The only R&R Permitting equivalent is(Process Block: R&R Permitting) Status IN Open Statuses (Submission Prep thru Review Revision and Resubmit, 9)(3822), local to R&R Inspection but with Fail if none exist off, so with no R&R Permitting block at all it may not read as "none active". R&R Inspection's step 12 uses a new global rule with Fail if none exist ticked instead (step 12 updated; ZT-563 needs the same rule).(Project) Custom Field: Project Milestones-Permit Expiration Date GREATER THAN 21(2977) is local to the Request Permit Extension task, as the Review says.
- No status rule exists for the Request Permit Extension task. Albatross's wording for a project task status is
- Answered: yes. The task is in the Request Permit Extension queue (Permitting queue type, 3-day SLA, built 2026-03-19), with rows ACTIVE, ON HOLD, Finalized and To Do. So it's owned by Permitting. Pending Permit Extension (Inspection and R&R Inspection) is in no queue, as the Review says.
- Answered: 16 tasks are at To Do. None would close on its next save: the only one with a date more than 21 days out is 4062 (2027-02-25), and its Inspection is parked, so the NOT Inspection rule keeps it open. 21617 also still has an open task (opened Sep 10), not closed as the Review says. Open tasks on Canceled or Finalized projects: 2303, 7397, 19789, 28625, 28627 (Canceled); 2420, 4214, 12415, 19775 (Finalized). 6 Residential projects have Permit Expiration Date filled but All Permits Approved and All Inspections Passed empty (not Canceled or Finalized), and would lose the warning under step 6: 1136, 5895, 15639, 18658, 20084, 26148.
- Answered (90 days, not 12 months; 12 months timed out), and decided (30 days stands, decision 4): 515 Permitting blocks reached All Permits Approved in the last 90 days. Using today's Permit Expiration Date, 5 had it 30 days or less after the approval date (2 already past). So the 30-day rule would have blocked about 1%. Today's date may have been changed since, so this is an estimate.
- Answered (from block audit, not control history): Inspection or R&R Inspection was parked at Pending Permit Extension 110 times on 100 projects in the last 12 months, mostly a bulk move in March before Permit Expiration Date was filled. 19 of those projects now have a date more than 21 days after the park; in 1 case the date was set before the park and hasn't changed since, so it was clicked with the date already far out. The risk behind the NOT Inspection rules in step 7 is real but rare.
- Answered: both 247 and 1094 have Allow Reset Run Flag ticked. Only 247 is reset today (by Permit Extension Granted, which also resets 1203). Nothing resets 1094 (R&R Inspection), so a second extension on the same R&R Inspection block already strands it. Step 13's resets fix that too.
- Not checked (partly inferred): the rules that read the task (e.g. 1362, 2331) are set to read a project task with "order by ascending" off and "use local" off, which suggests they read the newest task, not any task. Phoenix can't confirm the behaviour; test 21 settles it.
- Answered: one button, Database Updated. Conduct Research and Update Database and Review Notes and Update Database are statuses of the AHJ Research task (event 67), set by Ready to Conduct Research (597) and Submit (594). The only button that sets the task to Complete is Database Updated (595), live and placed, enabled when
(Event: AHJ Research) Custom Field: AHJ Details-AHJ Database Fully Updated IS NOT NULL. Step 16, the decision 5 note and the SOP now name Database Updated and say to fill AHJ Database Fully Updated first.
Checklist changed by the Phoenix check (check 10, 2026-11-06): step 16's banner names Database Updated (not the two status names) and tells the user to fill AHJ Database Fully Updated first; the SOP line matches.
Checklist changed by the Phoenix check: step 3 gives the exact wording; step 4 gives the exact descriptions; step 5 is no longer "if" (no reason field exists); step 12 adds a new global rule for an active R&R Permitting block, used on R&R Inspection.
Checklist changed by KAJ's decisions (2026-11-06): step 2 is decided (queue: Not Ready to Schedule Final Inspection) and steps 15 and the Inspection SOP name it; step 14 confirms the 30-day rule for every approval; step 16 has the AHJ Research note wording.
Config check
- Built 2026-11-09 (KAJ via Chrome), steps 1 and 3–16. Tests 17, 18 (first part) and 20 passed. 19 and 21 not run (28349 has no Inspection).
- Problem: Expiration Date Updated (auto) was built auto only, not auto + timed as the brief said, and it didn't fire on a save (same as ZT-573). Fixed 2026-11-10 09:20 MT: Timed ticked on Expiration Date Updated (auto) and on both Permit Extension Complete (auto) controls. Checked 2026-11-10: no open extension task has an expiration date more than 21 days out, so tonight's run closes nothing.
- Permit Extension Complete (auto) on Inspection and R&R Inspection is now auto + timed. The nightly run will release any Inspection parked at Pending Permit Extension that has no open extension task and no active Permitting block (expected tonight: 7746, plus any whose task is closed today). Overnight check on 2026-11-11.
- Stale open extension tasks (To Do), to close by hand with Close – Permit Already Finaled: 2303, 19789, 7397, 12415 (Inspection canceled); 4214, 2420 (All Inspections Passed); 21206 (one Inspection passed). Still parked at Pending Permit Extension: 968, 21206, 21617.
- An unused wrong-status rule was renamed "UNUSED - wrong status IDs".
- Config check, 2026-11-10: passed (Phoenix).
- Permit Expiring (auto) now needs the project's All Permits Approved filled.
- Close - Permit Already Finaled needs the task at To Do and Extension Not Needed Reason filled, then completes the task.
- Extension Not Needed - Ready to Submit As-Built now also completes the task.
- Pending Permit Extension (Inspection and R&R Inspection) is now in the Not Ready to Schedule Final Inspection queue.
- The overnight auto check is still due on 2026-11-11.
- Stale extension tasks closed, 2026-11-10 (D2): 2303, 19789, 7397, 12415, 4214 and 2420 were closed with Close - Permit Already Finaled. 21206 left open on purpose: it has a second Permitting block at Pending All Permits Approved and an Inspection waiting at Pending Permit Extension, so the extension is real. 968 and 21617 are also still waiting on real extensions.
Config check, 2026-11-10 (Claude, Phoenix): pass.
- Step 1 (Inspection blocks at Pending Permit Extension): 2303, 19789, 7397, 12415 and 4062 are no longer there. Still waiting: 7746 and 21617 (task already closed; the timed run should release them, see above) and 968 and 21206 (21206 left open on purpose, see above). The new Permit Extension Complete (auto) condition can move 7746 and 21617 on its own once they have no open extension task and no active Permitting block; it hadn't by 2026-11-10 21:25 UTC.
- Rules (steps 3–5): pass. Request Permit Extension To Do rule is global; global copies of both Pending Permit Extension status rules exist; field Extension Not Needed Reason (Text) is on the task's Task Details section with a global IS NOT NULL rule.
- Permit Expiring (auto) (1203, step 6): pass. Now also needs
(Project) Custom Field: Project Milestones-All Permits Approved IS NOT NULL(global). Existing rules kept. - Expiration Date Updated (auto) (1639, steps 7–9): pass. Condition and actions as written: task → Complete, then Reset Other Control → Permit Expiring (auto). In the task's Automatic Controls.
- It's auto + timed since KAJ ticked Timed on 2026-11-10 (see above), so it closes the task on the next save or the timed run.
- Close - Permit Already Finaled (1309, step 10): pass. Renamed, not always-on. Condition: task at To Do AND Extension Not Needed Reason filled. Action: task → Complete.
- Extension Not Needed - Ready to Submit As-Built (1019, step 11): pass, no change needed. It already ended with task → Complete (since 2026-05-08); the section doc was stale.
- Permit Extension Complete (auto) (247 Inspection, 1094 R&R Inspection, step 12): pass. New conditions as written, Allow Reset Run Flag ticked. R&R uses the new global rule There is an Active R&R Permitting Block.
- Needs Permit Extension resets (step 13): pass, no change needed. All four buttons (Inspection 773, Final Inspection event 770, R&R Inspection 983, R&R Inspection event 1284) already reset their block's Permit Extension Complete (auto).
- Permits Complete (step 14): pass. Has
(Project) Custom Field: Project Milestones-Permit Expiration Date GREATER THAN 30(global). - Queue (step 15): pass. Pending Permit Extension on Inspection and on R&R Inspection added to Not Ready to Schedule Final Inspection (14-day SLA), 2026-11-10 00:25 UTC.
- AHJ Research banner (step 16): pass. Database Updated Banner (1640), no condition, in the AHJ Research task's Controls section with the agreed text.
- Tests (steps 17–22): replaced by the next-day check. Permit Expiring (auto) fired once since go-live, on test project 28349 (2026-11-10 00:30 UTC). Expiration Date Updated (auto) has been evaluated on 9 projects and hasn't fired yet.