#237 knowledge(data-modeling): keep business state independent of Job Queue lifetime
A new knowledge article explains how to preserve business state independently of Job Queue lifetime by storing it on business-owned records rather than relying on Job Queue Entry existence as a status indicator. The article includes good and bad code examples and adds discovery logic to the data-modeling review skill.
- 5files
- 4AL files
- 0objects
Pull request · merged into main on 2026-10-20 by RaimondStokkel · 5 files (+190 -4), 4 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Deleting a Job Queue Entry can lose business state when the entry is the only evidence of an unresolved condition
- State that must survive cleanup belongs on the business owner or a domain record with the right lifetime
- Job Queue Entry should run the work and reference the owner record
- Data-modeling review gains discovery cues for existence reads and cleanup paths
- A finding needs an identified business consumer and a deletion path that changes its result; a FlowField or table extension name alone is not enough
AL objects touched
microsoft/knowledge/data-modeling/business-state-must-have-a-domain-owner.bad.al: added, not in the BC? snapshot yetmicrosoft/knowledge/data-modeling/business-state-must-have-a-domain-owner.good.al: added, not in the BC? snapshot yetmicrosoft/knowledge/data-modeling/business-state-must-have-a-domain-owner.md: added, not in the BC? snapshot yetmicrosoft/skills/review/al-data-modeling-review.md: modified, not in the BC? snapshot
Context
- Systems: development
- From the description: “Store state that must survive execution cleanup on its business owner or a domain record with the required lifetime.”
Source: metadata of a merged pull request in microsoft/BCQuality (bcquality): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).