#14135 [Job Queue] Don't cancel the executed task when scheduling the next run
When the Job Queue schedules the next run after a successful recurring run or a retry, it no longer sends a platform cancel for the task that is still executing. System Task ID is still cleared, and other task IDs are still cancelled, which cuts redundant cancellation notifications.
- 4files
- 3AL files
- 3objects
Pull request · merged into main (BC30) on 2026-11-17 by darjoo · 4 files (+141 -3), 3 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Executed tasks are no longer cancelled when the next run is scheduled
- New internal FinalizeRun overload preserves the executed task ID
- CancelTask still clears System Task ID but skips platform cancel for executing tasks
- Replacement tasks and other scenarios still cancelled as before
- No public API or event signature changes
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 448 “Job Queue Dispatcher”, Base Application: modified
- Table 472 “Job Queue Entry”, Base Application: modified
- Codeunit 450 “Job Queue Error Handler”, Base Application: modified
Context
- Work items: AB#576270, AB#659464
- Labels: Team: Integrations
- Systems: development
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Job queue — possibly related: touches Codeunit 448 “Job Queue Dispatcher”
- Schedule jobs to run automatically — possibly related: Explains job queue scheduling and recurring task execution that the fix addresses. (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).