ZT-531 · Parent blocks that never resume after their child block closes
| Status | Done (second-round reset open with Red Oak; see Config check) |
| Ticket | ZT-531 |
| Requested by | Michael Lowry (from the "Projects outside work queues" dashboard, 2026-11-02) |
| Made by | Michael Lowry (Albatross audit data: rules 3885–3887, controls 427, 486, 517, 523, 421, 424, 740, 741, 2026-11-05 16:54–17:28 UTC); requested by Michael Lowry |
| Date made | 2026-11-05 |
| Sections affected | 04 · Funding (M1, M2), 06 · Utility interconnection (PTO), 09 · Inspection & energization (Energization), 11 · Service |
| Project types | Residential. All 47 projects found are object type 6. |
Request
Some blocks pause in a status with no work queue while a child block does the work: Energization at Pending Service Work waits on Service Work, and M1 Funding, M2 Funding, PTO and Inspection wait on Correction Work. An auto control is meant to move the parent on when the child closes. When it doesn't fire, nobody sees the project again. The dashboard found 19 open projects stuck like this on 2026-11-02.
Proposed solution (from the handoff)
- Make 427 accept Complete or Canceled Service Work.
- Make 523 and 517 (and M1's equivalent) match Inspection 248's "Complete or Canceled, and no open correction work".
- Make 248's ESC rule pass when no ESC block exists.
- Flag 517 as auto.
Review
Checked against production (Phoenix) on 2026-11-02.
The four controls today
| Control | Block | Flags | Condition | Action |
|---|---|---|---|---|
| 427 Service Work Complete (auto) | Energization | auto, not repeatable | Energization = Pending Service Work and [There is a Complete Service Work Block] and not [There is an Active Service Work Block] | → Review Service Work (queue: Review Service Work, 3d) |
| 523 Correction Work Complete (auto) | M2 Funding | auto, not repeatable | Correction Work = Complete (fail if none exist) and M2 = Pending Correction Work | → Resubmit (queue: Resubmit M2, 2d) |
| 517 Correction Work Complete (auto) | PTO | not auto, not repeatable | Correction Work = Complete and PTO = Pending Correction Work | → Ready to Resubmit PTO (queue, 2d) |
| 248 Correction Work Complete (auto) | Inspection | auto, not repeatable; reset by Send to Corrections (779) and Send to Correction Work (256) | Inspection = Pending Review or Correction Work and ESC = ESC Complete and [Correction Work Complete or Canceled] and not [Open Correction Work Exists v2] and not [Final Inspection in Failure Review v2] | → Ready to Schedule Re-Inspection (queue, 5d) |
Correction (2026-11-05): M1 Funding does have an exit control, Correction Work Complete (auto) (486, KAJ, last changed 2026-10-06). Claude missed it on 11-02 because the search read the controls' rule-group records, and 486's are stale (archived rules and blanks); its live condition is only in the control's logic. tools/queries/14-block-dependencies.sql had the same blind spot and now reads the logic instead. Re-running it found one other control that reads Correction Work, Inspection's M1 Audit Complete - Ready to Schedule (auto) (1176). This change doesn't edit any existing rule, so 1176 is unaffected. It moves M1 to Resubmit when M1 is at Pending Correction Work, there's no active correction appointment, and Correction Work is either Complete, or Canceled with Inspection at All Inspections Passed. It's auto but Allow Reset Run Flag is off. Correction Work Pending (1294) on M1 has a condition but no actions.
How these controls behave (from block audit history)
- The parent does re-check when the child changes. On Energization, 427 fires in the same save as the Service Work completion (identical timestamps on 25902, 26787, 24056, 22684, 21518). So the problem isn't that the child's save is ignored.
- A status rule reads the latest child block, not "any". 13375 has an older Complete Service Work block and a later Canceled one, and 427 didn't fire. 22391 has three Complete Correction Work blocks then a Canceled one, and 523 didn't fire. If the rule meant "any block is Complete", both would have moved.
- Each control fires once per block. None of the four is repeatable. On 27230, 523 fired on 2026-09-15 (M2 → Resubmit in the same save as Correction Work → Complete). KAJ then reopened the Correction Work, and Nichole Prettyman set M2 back to Pending Correction Work by hand on 09-18. The Correction Work completed again on 09-30, and 523 couldn't fire a second time.
- The ESC idea is wrong. In 248's evaluation log, the ESC rule is true on projects with no ESC block (26534, 27207, 27703, 28061 and others). It isn't what blocks Inspection.
Why each parent gets stuck
- Canceled child isn't accepted (427, 523, 517). This is the main cause: 26 of the 33 Energization/M2 cases.
- One-shot control already used. The parent goes back into the waiting status a second time and the control can't fire again. Paths that put the parent back without a reset:
- Energization: Needs Service Work (421) and the Energization Visit's Needs Service Work (424). Neither resets 427.
- M2: Post Rejection Audit Complete - Correction Work (741) and manual status changes. Neither resets 523.
- Inspection: Inspection Failed or Partial Pass (255, on Final Inspection) and update to pending correction (245). Neither resets 248. This is deliberate in effect: if 255 reset 248, an old Complete Correction Work would bounce the project straight to Re-Inspection without anyone reviewing the failure.
- M1 Funding: same one-shot problem, not a missing control (see the correction above). 25946 and 14045 went to Resubmit in May through 486, and were then set back to Pending Correction Work by hand.
- Not auto (PTO 517).
- No Correction Work block at all (Inspection, 13 projects, almost all entered review on 2026-02-14 to 03-05, so they look like the Spark migration). 248 needs a Correction Work block, so it can never fire. Corrections Not Needed (715) moves these on by hand.
Live projects in the waiting statuses (not canceled, 2026-11-02)
| Parent, status | Child still open | Child closed, latest Canceled | Child closed, latest Complete | No child block |
|---|---|---|---|---|
| Energization, Pending Service Work | 23 | 15 | 0 | 0 |
| M2 Funding, Pending Correction Work | 86 | 11 | 1 (27230) | 0 |
| M1 Funding, Pending Correction Work | 52 | 1 (14045) | 1 (25946) | 0 |
| PTO, Pending Correction Work | 2 | 0 | 2 (22755, 23099) | 0 |
| Inspection, Pending Review or Correction Work | 40 | 1 (4478) | 3 (21300, 25804, 28061) | 13 |
The "child closed" and "no child" columns add up to 47 stuck projects, more than the dashboard's 19:
- Energization: 5007, 10589, 13375, 25515, 25629, 25671, 25859, 25871, 25969, 26036, 26464, 26588, 26626, 26766, 26803
- M2: 2570, 3553, 14045, 17848, 22007, 22391, 27230, 27565, 27742, 27864, 27997, 28034
- M1: 14045, 25946
- PTO: 22755, 23099
- Inspection (child closed): 4478, 21300, 25804, 28061
- Inspection (no Correction Work): 308, 1815, 4783, 6281, 7143, 7285, 19311, 20065, 21287, 22170, 24596, 25189, 28176
The three handoff projects with Service Work at Ready to Schedule (1770, 4669, 15068) have their child still open, so this fix won't move them. They belong to the "statuses with no queue" issue: Ready to Schedule on Service Work has no queue.
The July Service Work cancellations (Michael asked)
- The Activation team (Marian Biong) pressed Needs Service Work when a microinverter wasn't reporting after PTO. The notes say, for example, "unable to finalize account due to MI … not reporting/producing. Moved Energization process block to Needs Service Work."
- Caleb Cummings canceled 8 of these Service Work blocks: 6 on 2026-07-28 between 13:40 and 13:43 UTC, plus 07-10 and 08-03. Logan Parker and Casey Morton canceled others.
- A note on 25969 at the same minute as the cancel says the work was added to a Correction Work visit already scheduled for 7/31. Most of these projects have a Correction Work block created in July and completed in August to October. So the service was folded into Correction Work, not dropped as unnecessary. A canceled Service Work doesn't prove the microinverter was fixed.
- That's still fine for 427: it sends Energization to Review Service Work, a queue where Activation checks production before finalizing. It doesn't mark the project Energized.
- Tammy Lull (27813) has moved on. Nichole Prettyman set her M2 to Pending Approval by hand on 2026-10-28.
Other checks
- Rule scope: [Correction Work Complete or Canceled] (3407), [Open Correction Work Exists v2] (3412) and [Final Inspection in Failure Review v2] (3413) are local to Inspection, so M2, PTO and M1 need their own copies.
- Gap in [There is an Active Service Work Block] (705): it lists Ready to Schedule, Pending Service Work and Disposition Remaining Work. It leaves out Disposition Initial Work (an initial status), Ready to Send Invoice and Pending Invoice Payment.
- Downstream: each control only changes the parent's status. The statuses it moves to (Review Service Work, Resubmit, Ready to Resubmit PTO, Ready to Schedule Re-Inspection) all have queues, so a wrong move lands somewhere a person will see it.
- Messages: none of the four controls sends SMS, email or notifications. Any messages come from later buttons people press.
- Money: M2 → Resubmit puts the project in the Resubmit M2 queue, so the Funding team resubmits to the financier. That's the intended path today. Nothing is sent to NetSuite, Enphase or Vivint.
- Reporting: the dashboard's buckets "waiting on service work" and "stuck in a block" should shrink. No other reports checked.
Double check (2026-11-05, before the change was built)
Nothing built yet. Controls 427, 523, 517 and 248 are unchanged since 11-02. KAJ edited other controls on M1, PTO and Energization this morning (M1 Submitted 389, PTO Approved 407, Monitoring Passed 420, SMS controls 767, 768, 815, 816). None of them overlaps with this change.
Auto controls can't be repeatable (Michael, 2026-11-05). The Albatross pattern is: tick Auto and Allow Reset Run Flag on the control, then have the button that sends the parent back to waiting run Reset Other Control on it. That's how Inspection works: Send to Corrections (779) and Send to Correction Work (256) reset Correction Work Complete (auto) (248). 427 and 523 already have Allow Reset Run Flag on; 517 doesn't.
When auto controls run: Albatross checks them after all of a button's actions finish, not between actions. On 27864 (10-19), a new M2 was created at Pending Correction Work while an older Correction Work was already Complete. 523 didn't fire, because the new Correction Work created in the same save was open. So a button that sends the parent to waiting, creates the new child and resets the control won't release the parent early. The new child is open when the check runs.
Every path into the waiting statuses:
Waiting status Path Sends the existing block back to waiting? Needs a reset? Energization Pending Service Work Needs Service Work (421, on Energization) yes yes Energization Pending Service Work Needs Service Work (424, on Energization Visit) yes yes M2 Pending Correction Work Post Rejection Audit Complete - Correction Work (741) yes yes M2 Pending Correction Work Rejected - Field Audit (522), Rejected - Engineering & Field Audit (1109) no, they create a new M2 block no M1 Pending Correction Work Post Rejection Audit Complete - Correction Work (740) yes yes M1 Pending Correction Work Rejected - Field Audit (485), Rejected - Engineering & Field Audit (1108) no, new M1 block no PTO Pending Correction Work PTO Rejected - Correction Work (516) no, new PTO block no RMA Started (auto), Complete – RMA Claim Submitted / Not Submitted and Scheduled - No Materials Needed set the Service Work block's status, not Energization's.
Manual status changes aren't covered. If someone sets a parent back to the waiting status by hand (as on 27230), nothing resets the control. That parent has to be moved on by hand too (see SOP).
Nothing in flight has already used its run. No Energization block at Pending Service Work has ever been at Review Service Work, and no M2 block at Pending Correction Work has ever been at Resubmit. So the resets added now cover every project waiting today. The 15 stuck Energization and 11 stuck M2 blocks have never fired, so the condition fix alone releases them. M1's control is new, and PTO's has never been auto.
Two Correction Work blocks open at once: zero projects today. So a newer Correction Work closing while an older one is still open (the case where "latest block" could release a parent too early) isn't happening in practice. This was already true of today's Complete-only rule.
Messages and other auto controls: no customer SMS keys off Review Service Work, Resubmit or Ready to Resubmit PTO. The Finalization and PTO SMS controls need date fields equal to today. The only auto control that reads one of these statuses is Pending M2 Invoice Payment (auto) on PTO. It's held back while PTO is at Ready to Resubmit PTO, so no change.
Catch-up targets:
- None of the stuck parents has a newer block of the same type, so moving them won't duplicate anything.
- But 3553, 14045 and 22007 are Finalized projects with M2 still at Pending Correction Work, and 14045 also has M1 there. They'd land in the Resubmit queues. Funding decides first (step 18).
- 27230 was moved to Resubmit by hand on 11-04.
What this won't fix: parents waiting on a child that is itself orphaned. On 11-05, 24 open Correction Work and 75 open Service Work blocks sat at Ready to Schedule, Pending Correction Work or Pending Service Work, which have no block queue, with no open appointment. Their parents keep waiting until someone schedules the child. That belongs to the "statuses with no queue" work.
Decisions (Michael Lowry)
- 2026-11-05: auto controls can't be repeatable. Use Allow Reset Run Flag plus Reset Other Control on the buttons that send the parent back to waiting. This replaces the 11-02 "repeatable" decision.
Add a matching auto control on M1 Funding. Withdrawn 2026-11-05: M1 already has one (486). Keep 486 and its condition, including KAJ's rule that a Canceled Correction Work only releases M1 once Inspection is at All Inspections Passed. Just turn on its Allow Reset Run Flag.- No change to Inspection 248. Resetting it from Inspection Failed or Partial Pass would send a newly failed inspection straight to Re-Inspection, because an older Correction Work is Complete. The 17 stuck Inspection projects are cleaned up by hand. Pending Review or Correction Work having no queue is logged for the "statuses with no queue" work.
- Go straight to production, testing on project 28349.
Admin checklist
Rules are created global (no origin block) so all four controls can use them. Don't edit the existing rules: [There is a Complete Service Work Block] and the Correction Work = Complete rules are used elsewhere. Several controls are named Correction Work Complete (auto), so pick the one on the block named in each step.
Rules
- Create a global rule. System Data, Process Block: Service Work, Process Block Object Status IN Complete, Canceled, Fail if none exist = true. Description:
Latest Service Work Complete or Canceled (global). - Create a global rule. System Data, Process Block: Correction Work, Process Block Object Status IN Complete, Canceled, Fail if none exist = true. Description:
Latest Correction Work Complete or Canceled (global). - Create a global rule. System Data, Process Block: Correction Work, Process Block Object Status IN Ready for AM Review, Ready for Field Audit Review, Ready to Schedule, Pending Correction Work, Disposition Remaining Work, Fail if none exist = true. Description:
Open Correction Work Exists (global).
Energization: Service Work Complete (auto)
4. [ ] In the condition, replace There is a Complete Service Work Block with Latest Service Work Complete or Canceled (global). The condition becomes: (Process Block: Energization) System Data: Process Block Object Status EQUAL Pending Service Work (Fail if none exist = false) and Latest Service Work Complete or Canceled (global) and not There is an Active Service Work Block.
5. [ ] Check that Auto and Allow Reset Run Flag are both on (they already are). No change to the action (Set block status → Review Service Work).
6. [ ] Energization block screen › Actions section › Needs Service Work button (the one Activation uses): add a last action, Reset Other Control → Energization Service Work Complete (auto).
7. [ ] Energization Visit appointment screen › Actions section › Needs Service Work button. This is a different button with the same name. It also creates Service Work and sets Energization to Pending Service Work. Add the same last action, Reset Other Control → Energization Service Work Complete (auto). It's rarely used: no Energization Visit has ever been left at Needs Another Visit, which this button sets. It's still live, so it gets the same reset.
M2 Funding: Correction Work Complete (auto)
8. [ ] Set the condition to: (Process Block: M2 Funding) System Data: Process Block Object Status EQUAL Pending Correction Work (Fail if none exist = false) and Latest Correction Work Complete or Canceled (global) and not Open Correction Work Exists (global). This removes (Process Block: Correction Work) System Data: Process Block Object Status EQUAL Complete (Fail if none exist = true).
9. [ ] Check that Auto and Allow Reset Run Flag are both on (they already are). No change to the action (Set block status → Resubmit).
10. [ ] On M2 Funding's Post Rejection Audit Complete - Correction Work button, add a last action: Reset Other Control → M2 Funding Correction Work Complete (auto).
PTO: Correction Work Complete (auto)
11. [ ] Set the condition to: (Process Block: PTO) System Data: Process Block Object Status EQUAL Pending Correction Work (Fail if none exist = false) and Latest Correction Work Complete or Canceled (global) and not Open Correction Work Exists (global).
12. [ ] Tick Auto and Allow Reset Run Flag. No change to the action (Set block status → Ready to Resubmit PTO). It stays in the PTO Automatic Controls section. No reset action is needed: PTO Rejected - Correction Work always creates a new PTO block.
M1 Funding (revised 2026-11-05: M1 already had Correction Work Complete (auto). Michael built a new M1 Correction Work Complete (auto) (1439) from the first version of these steps before this was found. It has not fired.) 13. [ ] Remove M1 Correction Work Complete (auto) from M1 Actions and archive it. 14. [ ] On the existing M1 Correction Work Complete (auto), tick Allow Reset Run Flag. Leave its condition and action as they are. 15. [ ] On M1's Post Rejection Audit Complete - Correction Work button, point the Reset Other Control action at M1 Correction Work Complete (auto) instead of the new control. This button has no live placement on an M1 screen today, so this reset is insurance. 16. [ ] Move M1 on 25946 to Resubmit by hand. Its control already used its one run in May. For 14045, see step 18. 17. [ ] (Not needed. Kept so the step numbers match the ticket.)
Before the change 18. [ ] Funding decides what to do with the M2 blocks on Finalized projects 3553, 14045 and 22007, and the M1 block on 14045. Otherwise the new conditions drop them into Resubmit M2 or Resubmit M1 the next time those projects are saved. If they don't need resubmitting, set those blocks to Canceled before the change.
Test on project 28349 (28349 has no M2 Funding or Correction Work block, so we add them) 19. [ ] On 28349, add a Correction Work block, then an M2 Funding block. Set M2 Funding to Pending Correction Work by hand. M2 should stay there, because the Correction Work is open. 20. [ ] Cancel the Correction Work. M2 should move to Resubmit in the same save. This proves the Canceled path. 21. [ ] On the test M2, fill Post Rejection AM Audit Complete and Post Rejection AM Audit Completed By, then press Post Rejection Audit Complete - Correction Work. M2 should go to Pending Correction Work with a new Correction Work at Ready for Field Audit Review, and it should stay there. 22. [ ] Cancel that new Correction Work. M2 should move to Resubmit again. This proves the reset works. 23. [ ] Cancel the test M2 Funding block. 24. [ ] If the UI won't add blocks to 28349, skip the test. Instead, open stuck project 2570 (M2, latest Correction Work Canceled) and save anything on it. M2 should go to Resubmit. Claude checks the reset on the first real use of Post Rejection Audit Complete - Correction Work.
Catch-up of projects already stuck (after the test) 25. [ ] Energization (15), M2 (11; 27230 was moved by hand on 11-04), PTO (2) should move the next time anything on the project is saved; M1 (2) won't, because their control already ran in May (step 16 and 18). Claude checks which ones moved and lists the rest. Move those to the target status by hand: Review Service Work, Resubmit, Resubmit or Ready to Resubmit PTO. 26. [ ] Inspection (17): the Inspection team reviews each one and presses Corrections Not Needed or Send to Corrections. The list is in the Review. 27. [ ] Claude re-checks production: no M2, M1 or PTO moved while its Correction Work was still open.
New SOP
- Activation (Energization): when Service Work is closed, including when it's canceled because the work was folded into a Correction Work visit, the project now shows up in Review Service Work. Check production there before finalizing, the same as for completed Service Work. To send a project for more service, always use Needs Service Work; don't set Pending Service Work by hand.
- Funding (M1 and M2): when the Correction Work tied to a rejected milestone closes, canceled or complete, the milestone now moves to Resubmit and shows in Resubmit M1 or Resubmit M2. Resubmit from there. You no longer need to watch for finished Correction Work. If a Correction Work was canceled because it's not needed, the milestone still comes to you to resubmit. To send a milestone back for corrections, always use a button (Rejected - Field Audit or Post Rejection Audit Complete - Correction Work); don't set Pending Correction Work by hand. If you do, move it to Resubmit by hand when the Correction Work is done.
- PTO: PTO waiting on Correction Work now moves to Ready to Resubmit PTO by itself when the Correction Work closes.
- Correction Work and Service teams: no change. Cancel a block only when the work isn't needed or has moved to another block, because canceling now releases the parent.
- Inspection: no change to how it works. Once, work the list of 17 projects in Pending Review or Correction Work with no open Correction Work.
- Tell the Funding lead (Nichole Prettyman) and Activation (Marian Biong) that these projects will start showing up in their queues.
Rollback
- Put back the old conditions: Energization
There is a Complete Service Work Block; M2 and PTO(Process Block: Correction Work) System Data: Process Block Object Status EQUAL Complete (Fail if none exist = true). - On PTO's Correction Work Complete (auto), untick Auto and Allow Reset Run Flag.
- Remove the Reset Other Control actions added to the two Needs Service Work buttons and the two Post Rejection Audit Complete - Correction Work buttons.
- On M1 Correction Work Complete (auto), untick Allow Reset Run Flag. Make sure M1 Correction Work Complete (auto) is archived.
- Leave the three new global rules; unused, they do nothing.
Config check
Checked in production (Phoenix) on 2026-11-05 after Michael built steps 1–17, including the revised M1 steps. All changes were made by Michael Lowry between 16:54 and 17:28 UTC.
Steps 1–17: all match.
| Step | Result |
|---|---|
| 1–3 Rules | Latest Service Work Complete or Canceled (3886), Latest Correction Work Complete or Canceled (3887) and Open Correction Work Exists (3885) are global, IN the right statuses, Fail if none exist = true. Named without "(global)", which is fine. Two earlier copies (3883, 3884, Fail if none exist = false) are archived and unused. |
| 4–5 Energization Service Work Complete (auto) | Condition = Pending Service Work and not [There is an Active Service Work Block] and [Latest Service Work Complete or Canceled]. Auto and Allow Reset Run Flag on. Action unchanged. |
| 6 Needs Service Work (Energization) | Last action resets Service Work Complete (auto). |
| 7 Needs Service Work (Energization Visit) | Last action resets Service Work Complete (auto). |
| 8–9 M2 | Condition matches; Auto and Allow Reset Run Flag on. Renamed M2 Correction Work Complete (auto). |
| 10 M2 Post Rejection Audit Complete - Correction Work | Last action resets M2 Correction Work Complete (auto). |
| 11–12 PTO Correction Work Complete (auto) | Condition matches; Auto and Allow Reset Run Flag now on. Still in Automatic Controls. |
| 13 New M1 control | M1 Correction Work Complete (auto) (1439) archived and unplaced. It never fired. |
| 14 Existing M1 control | Allow Reset Run Flag on; condition and action unchanged. Renamed M1 Correction Work Complete (auto) (486). It's still in M1 Actions. |
| 15 M1 Post Rejection Audit Complete - Correction Work | Last action resets 486. |
| 16 25946 | M1 moved to Resubmit by Michael at 17:28. |
Found while checking
- Both Post Rejection Audit Complete - Correction Work buttons (M1 and M2) have no live placement on any screen. So nobody can press them today, and the resets on them (steps 10 and 15) are insurance only. In practice, the only ways into M1/M2 Pending Correction Work are the rejection buttons, which create a new block, and manual status changes. It also means test step 21 can't be done. The test is replaced below. No need to place them: Michael took both off the Post Rejection Audit sections on 2026-03-05. No M1 or M2 block has entered Post Rejection AM Audit since then, and none sits there now, so this is a retired step. Placing the buttons would bring it back. The reset actions on them are harmless and stay.
- The Canceled path works in production. On 28645 at 17:21:18, Logan Parker canceled Correction Work and M2 moved to Resubmit in the same save (one transaction).
- No parent moved while its child was open. Since the change, the only moves into Review Service Work, Resubmit or Ready to Resubmit PTO were: 28645 (above); 25946 (by hand); and 27603 M1 and 22108 M2, which both moved before the relevant control was edited.
- None of the stuck Energization, M2 or PTO projects has moved yet. They need a save on the project. Claude re-checks after a day.
- Other edits in the same window: about 30 rules named "Inst: …" / "Inst-xobj: …" were created at 17:03 by Michael. They're not part of this change; they look like the Install form. Michael confirmed they belong to a different change; ignored here.
Revised test (replaces steps 19–24; the Canceled path is already proven by 28645's real case above)
- On 28349, add an Energization block. Press Needs Service Work. Energization should go to Pending Service Work with a new Service Work.
- Cancel the Service Work. Energization should go to Review Service Work.
- Press Needs Service Work again, then cancel the new Service Work. Energization should go to Review Service Work again. This proves the reset.
- Cancel the test Energization block.
Reset test on 28349 (checked 2026-11-05)
- Round 1 passed. At 17:38:14, Needs Service Work created a Service Work and Energization went to Pending Service Work. At 17:38:52, the Service Work was canceled, and Energization went to Review Service Work in the same save.
- Round 2 failed. At 17:41:04, Needs Service Work created a new Service Work (185705) and Energization went to Pending Service Work. Michael confirmed the UI showed Service Work Complete (auto) as ready to run again, so the reset ran. At 17:41:37 the new Service Work was canceled, but Energization didn't move. The condition should be true then (both Service Work blocks Canceled, none open), with the same data as round 1. The control's evaluation log couldn't be read: the
control_historyquery timed out and wasn't retried. - Same pattern on Inspection: Correction Work Complete (auto) is reset by Send to Corrections / Send to Correction Work. Yet on 28061 (reset 10-19, Correction Work Complete 10-27) and 21300 (reset 08-18, Complete 10-23), Inspection didn't move. So after a reset, an auto control shows as ready, but a change on the child block doesn't make it fire.
- Impact: the Canceled fix works (28645 live; round 1 here). The reset doesn't work, at least when a child block change should trigger it, so a second service or correction round still gets stuck, as it did before this change.
- Next: Michael saves any field on 28349's Energization block (still at Pending Service Work with its Service Work canceled). If Energization moves, the reset works but only a save on the parent block re-checks the control. If not, the reset doesn't re-arm auto controls; ask KAJ or Albatross support.
Save test (2026-11-05): Michael saved a field on 28349's Energization block at 17:50:05 UTC. Energization stayed at Pending Service Work. So the reset doesn't make the control fire again, whether the trigger is a child block change or a save on the parent block. Escalated to Red Oak (ticket text below).
Red Oak support ticket (draft, 2026-11-05)
Subject: Auto control does not fire again after "Reset Other Control" (Allow Reset Run Flag is on)
Tenant: Zeo Energy, production
Summary An auto control with Allow Reset Run Flag turned on fires correctly the first time. After another control resets it with a Reset Other Control action, the UI shows it as ready to run again, but it never fires again, even when its condition is true and the block is saved. We rely on this pattern so that blocks waiting on a child block move on when that child closes. When the control doesn't fire, projects get stuck in statuses that have no work queue.
Setup
- Control 427, "Service Work Complete (auto)" on the Energization process block (id 29). Flags: Auto on, Allow Reset Run Flag on, not repeatable.
- Condition: Energization status = Pending Service Work AND not "There is an Active Service Work Block" AND "Latest Service Work Complete or Canceled" (rule 3886).
- Action: set Energization status → Review Service Work.
- Control 421, "Needs Service Work" on Energization. Actions, in order:
- Create Service Work block.
- Set Energization status → Pending Service Work.
- Reset Other Control → 427.
Steps to reproduce (test project 28349; Energization block instance 185702; all times 2026-11-05 UTC)
| Time | Action | Result |
|---|---|---|
| 17:38:14 | Press Needs Service Work | Service Work 185703 created. Energization → Pending Service Work. ✅ |
| 17:38:52 | Cancel Service Work 185703 | Control 427 fires in the same save. Energization → Review Service Work. ✅ |
| 17:41:04 | Press Needs Service Work again | Service Work 185705 created. Energization → Pending Service Work. Control 427 shows as ready to run again in the UI (reset applied). ✅ |
| 17:41:37 | Cancel Service Work 185705 | Control 427 does not fire. Energization stays at Pending Service Work. ❌ |
| 17:50:05 | Save a field on the Energization block | Control 427 still does not fire. ❌ |
Expected: after the reset, control 427 fires at 17:41:37, because its condition is the same as at 17:38:52, when it did fire. Energization should move to Review Service Work.
Actual: the control never fires a second time.
Possibly the same issue elsewhere: control 248, "Correction Work Complete (auto)", on the Inspection block (id 13). It's reset by controls 779 ("Send to Corrections") and 256 ("Send to Correction Work"). On project 28061 (Inspection block instance 156668), a reset path ran on 2026-10-19 at 21:20:47 UTC. The new Correction Work (161914) was completed on 2026-10-27 at 17:57:17 UTC, but Inspection never moved.
Questions
- Is Reset Other Control supposed to re-arm an auto control so it fires again when its condition is next true?
- Can you check the control history for control 427 on block instance 185702 at 17:41:37 and 17:50:05 UTC? Did it evaluate, what did each rule return, and why didn't it run? (The history table times out on our read-only copy.)
- Does the reset need to happen in a different save from the status change, or after it?
- If this isn't supported, what's the recommended way to let an auto control fire more than once on the same block?
We've left project 28349 in this state (Energization at Pending Service Work, both Service Work blocks Canceled) so you can inspect it.
Still open after recording (2026-11-05)
- Red Oak: why a reset auto control doesn't fire a second time. 28349 is left at Pending Service Work for them to inspect.
- Step 18: Funding's decision on Finalized projects 3553, 14045 (M1 and M2) and 22007.
- Catch-up: stuck Energization (15), M2 (11) and PTO (2) projects move on their next save. Claude re-checks on 2026-11-06.
- Inspection team: clean up the 17 projects by hand.
Catch-up re-check (2026-11-06, 17:33 UTC)
- The reset did work, overnight. At 09:11:54 UTC, a nightly System User run saved 28349 (its Roof Field Work had a timed control due). In that same save, Energization's Service Work Complete (auto) fired and moved it to Review Service Work. So the reset re-armed the control, but it fired on the project's next save by the system run, not on the cancel at 17:41 or the field save at 17:50. Red Oak has been told 28349 was left at Pending Service Work; it isn't any more.
- Moved since the change:
- M2 27742: by hand (Nichole Prettyman, 11-05 18:58).
- PTO 23099: in Marcelo Buitrago's save, 11-05 18:28.
- M2 14045: by the nightly run, 11-06 09:08. This is a Finalized project still waiting on Funding's decision (step 18), so it's now in Resubmit M2.
- Still stuck (no save on the project since the change):
- Energization (15): 5007, 10589, 13375, 25515, 25629, 25671, 25859, 25871, 25969, 26036, 26464, 26588, 26626, 26766, 26803
- M2 (9): 2570, 3553, 17848, 22007, 22391, 27565, 27864, 27997, 28034
- PTO (1): 22755
- M1 (1): 14045. Its control already used its run in May, so it won't move on its own.
- No parent moved while its child was open because of this change. Every move into Review Service Work, Resubmit or Ready to Resubmit PTO since 11-05 17:30 had its child closed, except M1 on 2958 (Nichole Prettyman, 11-06 13:00, Correction Work still at Ready to Schedule). M1's control can't pass with an open Correction Work, so that was a manual move.
Re-check (2026-11-12)
- The fix is holding for Energization, M2 and PTO. No project has entered those waiting statuses with its child already closed since the change.
- Energization: Michael moved 10 to Review Service Work by hand on 11-06. 26036 and 26626 have since been Energized. Still stuck: 10589, 26464, 26803.
- M2: none of the 9 has moved: 2570, 3553, 17848, 22007, 22391, 27565, 27864, 27997, 28034. 14045's M2 is still at Resubmit (Finalized project; Funding's step-18 decision is still open, as it is for 3553 and 22007).
- PTO: 22755 still stuck.
- M1: 14045 still stuck (its control's one run was used in May). New case 27550: Correction Work was canceled today (Logan Parker) while Inspection is at Pending Final Inspection. M1's control only accepts a Canceled Correction Work once Inspection is at All Inspections Passed (KAJ's rule), so M1 waits by design. The same happened on 11-09, and Nichole moved it by hand.
- Inspection (not covered by this change): 15 left. 6 have the child closed: 4478, 21300, 25804, and new since 11-05, 26334, 26707, 27777. 9 have no Correction Work block: 308, 1815, 6281, 7143, 19311, 20065, 21287, 22170, 24596. Cleared since 11-05: 4783, 7285, 28061, 28176, 25189.
- Red Oak: no answer recorded.
- Red Oak (2026-11-12): Michael reports the Red Oak issue is done. The outcome isn't recorded here yet.
- Inspection: moved to its own ticket, ZT-602.
Re-check (2026-11-12, 22:30 UTC)
- Energization: Michael moved 10589, 26464 and 26803 to Review Service Work (20:51). All three are in the Review Service Work queue. None left.
- M2: Nichole Prettyman moved 17848, 27565, 27864, 27997 and 28034 to Pending Approval (21:26–21:38). She canceled the M2 blocks on 2570, 22391, and on the Finalized projects 3553 and 22007 (21:39–21:58). None left.
- PTO: Michael moved 22755 to Ready to Resubmit PTO (21:01). It's in that queue.
- M1: Michael moved 14045 to Resubmit (21:02). 27550 is still at Pending Correction Work, waiting on purpose under KAJ's rule.
- Step 18 is still open for 14045 only. It's a Finalized project with both M1 and M2 at Resubmit, so it sits in both Resubmit queues. Funding decides whether to resubmit or cancel them. 3553 and 22007 are settled (M2 canceled).
- Inspection is now tracked in ZT-602. Michael moved 27777 to Ready to Schedule Re-Inspection (22:23); it's in Ready to Schedule Final w/ Customer.
- Red Oak fixed the reset (2026-11-12). Michael confirmed a reset auto control now fires immediately, on the save where its condition becomes true. The second-round gap found in the 28349 test is closed.
- M1 follow-up: KAJ inverted the inspection check on M1's canceled-correction rule. Recorded as ZT-605.