In Microsoft Dynamics NAV, processes can be automated using the Job Queue. The Job Queue asynchronously processes requests as a background service using an NAV Application Service.
An explanation of the implementation of Job Queue Entry Pattern is available at https://www.youtube.com/watch?v=UA2Pq7fv-Dk&list=PLhZ3P-LY7CqmVszuvtJLujFyHpsVN0U_w&index=15.
Most processes can be wrapped in a Job Queue process by implementing Job Queue Entry Pattern.
Job Queue can also execute a report. This pattern describes the usage of Codeunits in Job Queue.
Job Queue Pattern requires us to wrap the process into a Codeunit that takes a Job Queue Entry as a parameter. This Codeunit then follows a number of steps.