code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

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

Context

  • Work items: AB#659837
  • Labels: Team: Integrations
  • Systems: development

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”

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