#14499 Job Queue: resume interrupted finalization on task retry
When a task is retried after the job already finished but its bookkeeping failed, the Job Queue Dispatcher now completes the pending log entry and runs FinalizeRun instead of exiting. The job is not re-run, and recurring entries no longer stop being scheduled.
- 3files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-11-27 by darjoo · 3 files (+219 -1), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Acts only when a locked re-read shows the entry is still Finished, Manual Recurrence is off, and a log entry for the same System Task ID is In Process or Success
- Sets the pending log entry to Success and calls FinalizeRun, which schedules the next run or deletes a non-recurring entry
- Activates the next waiting job in the same category
- Emits new warning telemetry 0000WW6 (Job queue entry finalization resumed)
- Tests cover rescheduling a recurring entry, deleting a non-recurring entry, and leaving entries untouched when there is no matching log or Manual Recurrence is on
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 448 “Job Queue Dispatcher”, Base Application: modified
- Codeunit 9803 “Job Queue Telemetry”, Base Application: modified
Context
- Work items: AB#660077
- Labels: Team: Integrations
- Systems: development
- From the description: “A recurring Job Queue Entry can stop being scheduled forever.”
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”
- Analyzing Job Queue Lifecycle Trace Telemetry — possibly related: Traces job queue lifecycle events including when jobs are started, finished, and retry scenarios. (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).