#11740 Bug 636971: [Expense Agent] EA Scheduler Task table grows unbounded with no cleanup or UI visibility
The Expense Agent now calls an existing cleanup function so that the EA Scheduler Task table no longer grows without limit.
- 2files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-10-09 by BardurKnudsen · 2 files (+2 -3), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Adds a call to an existing cleanup function in the Expense Agent integration code
- Stops EA Scheduler Task records from piling up indefinitely
- Small change across the EA Agent Dispatcher and EA Agent Scheduler codeunits
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 6938 “EA Agent Dispatcher”, ExpenseAgent: modified
- Codeunit 6935 “EA Agent Scheduler”, ExpenseAgent: modified
Context
- Work items: AB#636971
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot
- From the description: “Added Call to existing cleanup function.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Task scheduler — possibly related: Documents task scheduler for background execution and failure handling relevant to EA Scheduler Task management. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).