Job queue execution order

leegeorge@taigsolutions.co.uk
Member Posts: 1
We have a nav2016 instance running job queue - we have written code to place reports to run into the job queue entries with the relevant parameters.
My question is - is there any way to ensure that the reports get processed in the order we insert into the table?
Is there an option to set the number of concurrent processes to run by the job queue to be 1 at a time ?
Many thanks
My question is - is there any way to ensure that the reports get processed in the order we insert into the table?
Is there an option to set the number of concurrent processes to run by the job queue to be 1 at a time ?
Many thanks
0
Answers
-
Hi, is it possible to create a Job Queue which just processes reports? By that I mean have a custom table with the Primary Key - Entry No. You could then insert entries for each report, containing the Report ID and Parameters. You could then just have a Job Queue Entry in this Category which processes these Reports in sequential order? If you get an error, you could save this to the table and either stop the processing or carry on. You could even have a field for the No. of Re-Attempts per Report.
I am not sure if there is a simpler, more standard way of handling this. In 2017 you could set the No. of Concurrent Tasks to 1 on the NST, but in 2016 this option doesn't exist.1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions