Job Queue
General
This article describes how the job queue works in Business Central. A job queue is basically an abstraction that uses the task scheduler from the platform to enable end users to view, create, or modify jobs that are set to run in the background. These jobs can be set to run on a recurring schedule.
For more global information see:
- https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-job-queue
- https://learn.microsoft.com/en-au/dynamics365/business-central/admin-job-queues-schedule-tasks
Important
Job Queue Category Code.
Always select or create a Job Queue Category Code. This will make sure that a job queue entry with the same category code cannot be run simultaneously.
Maximum No. of Attempts To Run.
Specifies how many times a job queue task should be rerun after a job queue fails to run. This is useful for situations in which a task might be unresponsive. For example, a task might be unresponsive because it depends on an external resource that is not always available.
Specific functions are available for the various 3PL apps that allow background tasks to run.
Examples Job Queue Entries
Job Queue Entity | Description |
---|---|
Clean Up Tables | Remove data from databases. |
Device Activity Mapping | Maps Device Activities to internal actions |
Device Activity Processing | Processes Device Activities |
DI Message Create | Creates DI messages |
DI Message Process | Processes DI messages |
Posting TMS Documents | Posts TMS Documents |