This article explains how to configure and use the Job Queue functionality in Microsoft Dynamics NAV together with the Navision Application Server (NAS) to run background tasks automatically, without user intervention.
Background: Job Scheduler vs Job Queue
The Job Queue feature was introduced in Microsoft Dynamics NAV 5.0 as a replacement for the earlier Job Scheduler functionality available in NAV 4.0.
The key improvement with Job Queue is that it allows multiple background tasks to be scheduled and executed automatically by NAV, without requiring a logged-in user. These tasks are executed by NAS in the background based on predefined schedules.
What Is Job Queue and What Is NAS?
Job Queue provides a centralized queue where background tasks are defined, scheduled, enabled, or disabled. Using Job Queue, you can control:
NAS (Navision Application Server) acts as the execution engine. It continuously monitors the Job Queue and triggers the defined tasks at the scheduled times.
In short:
Main Components of Job Queue
The Job Queue functionality is supported by the following system tables:
-
Job Queue Setup (Table 470)
-
Job Queue Process (Table 471)
-
Job Queue Entry (Table 472)
-
Job Queue Response (Table 473)
-
Job Queue Log Entry (Table 474)
The most important table is Job Queue Entry (472), which stores the actual job definitions.
Steps to Use Job Queue with NAS
Step 1: Install Microsoft Dynamics NAV Application Server (NAS)
-
Install the Microsoft Dynamics NAV Application Server.
-
Ensure the NAS service is correctly registered in NAV.
-
Configure the NAS Startup Parameter as:
This tells NAS to process tasks defined in the Job Queue.
Important:
NAS must always run without any user interface. Any GUI-related code must be disabled.
Step 2: Create Job Queue Entries
To schedule a background task, you must create a Job Queue Entry.
Example: Automating “Adjust Cost – Item Entries”
Suppose you want to automate Report 795 – Adjust Cost - Item Entries.
Before scheduling:
Step 3: Define Job Details (Job Queue Entry Card)
Open Job Queue Entry Card (Form 673).
In the General tab:
This defines what will run and when it can start.
Step 4: Configure Recurrence
In the Recurrence tab, define how often the task should run.
Example 1: Run every 2 minutes between 8:00 AM and 6:00 PM
Example 2 (NAV 2013):
Run Adjust Cost – Item Entries at 2:00 AM on weekdays only:
Step 5: Activate the Job
Once all details are defined:
This marks the job as active and eligible for execution by NAS.
Step 6: Enable Job Queue Processing
Open Job Queue Setup (Form 670).
If you need to temporarily stop all background jobs, simply clear this checkbox.
Summary
The Job Queue combined with NAS allows Microsoft Dynamics NAV to:
-
Run reports and codeunits automatically
-
Execute tasks without user login
-
Schedule recurring background processes reliably
This functionality is essential for automation scenarios such as:
Understanding Job Queue and NAS is critical when maintaining legacy NAV systems and during upgrades to newer platforms.

How Job Queue and NAS Work Together (Visual Explanation)
The diagram above illustrates how Job Queue and Navision Application Server (NAS) work together in Microsoft Dynamics NAV to execute background tasks automatically, without user interaction.
Step-by-Step Flow Description
1️⃣ Job Definition (Job Queue Entry)
The process begins when a job is defined in the Job Queue Entry table.
Here, you specify:
This defines what should run and when.
2️⃣ Job Queue Setup Validation
The Job Queue Setup determines whether background processing is enabled globally.
-
If Job Queue Active = TRUE, processing continues
-
If disabled, no jobs are executed, even if they are marked as Ready
3️⃣ NAS Monitors the Job Queue
The Navision Application Server (NAS) runs continuously in the background with the startup parameter:
NAS periodically checks the Job Queue for:
4️⃣ NAS Executes the Job
When a job is due:
-
NAS triggers the specified Report or Codeunit
-
The execution happens without any user interface
-
All GUI-related logic must be suppressed using GUIALLOWED()
This allows NAV to run batch jobs safely in the background.
5️⃣ Job Processing and Logging
During execution:
-
Processing details are written to Job Queue Process
-
Execution results are recorded in Job Queue Log Entry
-
Success, warnings, or errors are logged for review
If an error occurs, the system records the failure and may retry based on configuration.
6️⃣ Recurrence Handling
If the job is recurring:
-
NAS calculates the next run time
-
The Job Queue Entry remains active
-
The cycle repeats automatically
If the job is one-time only:
High-Level Summary (One-Glance Understanding)
Why This Architecture Matters
This design allows NAV to:
-
Automate heavy processing tasks
-
Run jobs outside business hours
-
Eliminate dependency on logged-in users
-
Centralise scheduling and monitoring
It is especially critical for:
Important Note for Business Central Upgrades
While NAS is specific to classic NAV, understanding this flow is essential when upgrading to Business Central, where similar functionality is handled by:
-
Job Queue Dispatcher
-
Server task scheduler
-
Background sessions