---
title: "Codeunit 456 Job Queue Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/456-job-queue-management/
type: codeunit
id: 456
name: "Job Queue Management"
app: "Base Application"
namespace: System.Threading
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/456-job-queue-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 456 Job Queue Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/456-job-queue-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Threading |
| Versions | 17-28 |
| Source file | Modules/System/JobQueue/JobQueueManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CreateJobQueueEntry | (var Record Job Queue Entry) | - | public | 17-28 | - | - |
| DeleteJobQueueEntries | (Option, Integer) | - | public | 17-28 | - | - |
| StartInactiveJobQueueEntries | (Option, Integer) | - | public | 17-28 | - | - |
| SetJobQueueEntriesOnHold | (Option, Integer) | - | public | 17-28 | - | - |
| SetStatusToOnHoldIfInstanceInactiveFor | (Option, Integer, Option, Integer) | Boolean | public | 17-28 | - | - |
| SetRecurringJobsOnHold | (Text) | - | public | 18-28 | - | - |
| RunJobQueueEntryOnce | (var Record Job Queue Entry) | - | public | 18-28 | - | - |
| FindStaleJobsAndSetError | () | - | public | 19-28 | - | - |
| SendForApproval | (var Record Job Queue Entry) | - | internal | 22-26 | - | - |
| TooManyScheduledTasksNotification | () | - | internal | 23-28 | - | - |
| TooManyScheduledTasksDocs | (Notification) | - | internal | 23-28 | - | - |
| CheckAndRefreshCategoryRecoveryTasks | () | - | public | 24-28 | - | - |
| GetScheduledTasks | () | Integer | internal | 24-28 | - | - |
| GetScheduledTasksForUser | (Guid) | Integer | internal | 24-28 | - | - |
| CheckUserInJobQueueAdminList | (Text) | Boolean | internal | 25-28 | - | - |
| UpdateRetriableFailedJobQueueLogEntry | (var Record Job Queue Entry) | - | internal | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnRunJobQueueEntryOnceOnAfterJobQueueEntryInsert | (Record Job Queue Entry, Record Job Queue Entry) | 23-28 | - | - |
| Integration event | OnGetCheckDelayInMinutes | (var Integer) | 24-28 | - | - |
| Integration event | OnFindStaleJobsAndSetErrorOnAfterSetError | (var Record Job Queue Entry) | 24-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
