---
id: change/bcapps/14485
type: change
title: "#14485 [Job Queue] Apply Job Timeout to tasks re-created by the dispatcher"
summary: Job Queue entries are now terminated according to their configured Job Timeout when re-created by the dispatcher, instead of using the platform default 12-hour timeout.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit job queue dispatcher
  - table job queue entry
system: development
review:
  state: reviewed
  by: opus
  at: "2026-11-28T01:06:56.904Z"
  flags: []
generated:
  at: "2026-11-28T00:12:53.289Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 37479bb2af892a42b8835d74193e55bbcec970cb
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14485
    title: "microsoft/BCApps#14485: [Job Queue] Apply Job Timeout to tasks re-created by the dispatcher"
    date: "2026-11-27"
    commit: 37479bb2af892a42b8835d74193e55bbcec970cb
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/448
    - object/table/472
  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
number: 14485
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14485
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: 93
  deletions: 9
  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: table/472
    page: table/472
    type: table
    id: 472
    name: Job Queue Entry
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 659837
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #14485 [Job Queue] Apply Job Timeout to tasks re-created by the dispatcher

> Job Queue entries are now terminated according to their configured Job Timeout when re-created by the dispatcher, instead of using the platform default 12-hour timeout.

[Pull request](https://github.com/microsoft/BCApps/pull/14485) · merged into `main` (BC30) on 2026-11-27 by darjoo · 3 files (+93 -9), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Reschedule and RescheduleAsWaiting methods now pass the job timeout to CreateTask calls
- New internal GetJobTimeout procedure returns the entry timeout or the default if zero
- Tasks running entries in Waiting state or outside Starting/Ending Time now respect configured timeouts
- Prevents long-running jobs from holding locks past their intended timeout during business hours
- Tests added to verify timeout is applied on both rescheduling paths
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 448 "Job Queue Dispatcher"](../../objects/codeunit/448.md), Base Application: modified
- [Table 472 "Job Queue Entry"](../../objects/table/472.md), Base Application: modified

## Context

- Work items: AB#659837
- 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](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-job-queue) — possibly related: touches Codeunit 448 "Job Queue Dispatcher"

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