---
id: change/bcapps/14499
type: change
title: "#14499 Job Queue: resume interrupted finalization on task retry"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit job queue dispatcher
  - codeunit job queue telemetry
system: development
review:
  state: reviewed
  by: opus
  at: "2026-11-28T01:06:56.904Z"
  flags: []
generated:
  at: "2026-12-01T00:17:57.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 28e07f3f0e04f8b002a8ff6501600dac0e2b5217
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14499
    title: "microsoft/BCApps#14499: Job Queue: resume interrupted finalization on task retry"
    date: "2026-11-27"
    commit: 28e07f3f0e04f8b002a8ff6501600dac0e2b5217
    t: null
    quote: A recurring Job Queue Entry can stop being scheduled forever.
links:
  learn: []
  objects:
    - object/codeunit/448
    - object/codeunit/9803
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-job-queue
      title: Job queue
      label: possibly related
      why: touches Codeunit 448 "Job Queue Dispatcher"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/administration/telemetry-job-queue-lifecycle-trace
      title: Analyzing Job Queue Lifecycle Trace Telemetry
      label: possibly related
      why: Traces job queue lifecycle events including when jobs are started, finished, and retry scenarios.
      by: model
number: 14499
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14499
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-27T10:26:40Z"
author: darjoo
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 219
  deletions: 1
  al: 2
apps:
  - Base Application
objects_touched:
  - key: codeunit/448
    page: codeunit/448
    type: codeunit
    id: 448
    name: Job Queue Dispatcher
    app: Base Application
    status: modified
  - key: codeunit/9803
    page: codeunit/9803
    type: codeunit
    id: 9803
    name: Job Queue Telemetry
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 660077
systems:
  - development
quote: A recurring Job Queue Entry can stop being scheduled forever.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #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.

[Pull request](https://github.com/microsoft/BCApps/pull/14499) · 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"](../../objects/codeunit/448.md), Base Application: modified
- [Codeunit 9803 "Job Queue Telemetry"](../../objects/codeunit/9803.md), 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](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-job-queue) — possibly related: touches Codeunit 448 "Job Queue Dispatcher"
- [Analyzing Job Queue Lifecycle Trace Telemetry](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/administration/telemetry-job-queue-lifecycle-trace) — 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).
