web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Job Queue > serial call of specific jobs in a specified order

(0) ShareShare
ReportReport
Posted on by 144

Hi,

we have a couple of jobs that have to run every night one after the other in a given order. Now I could achieve this by calling the jobs via a codeunit. However, I would like to have the jobs executed individually via the job queue. By including the jobs in a category, I can make sure that they run one after the other. But do I have any influence on the order in which they are called up, or is that just random, like with events?

Thanks in Advance
Ralf

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,423 Super User 2026 Season 1 on at

    Hi

    no, it is not causal... the jobs follow the order you have decided on.

    learn.microsoft.com/.../devenv-job-queue

    DAniele

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    I do not think that the standard system offer that kind of control on the job queue.

    So i think you have to customize it in one form or another at least as long as you want the jobs to run more than once every day.

    If you want them to run only once a day you could control it by using start time and stop time.

  • Suggested answer
    Amit Profile Picture
    2,563 on at
  • neckit Profile Picture
    144 on at

    I think the best way is actually to put the jobs to be executed at night into a category with a time delay.
    If an error should then occur in a job, I then first have to increase the start times of the subsequent jobs before I set the faulty job to Ready again.

    Thanks!

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Sounds like a good plan!

  • Suggested answer
    YUN ZHU Profile Picture
    101,995 Super User 2026 Season 1 on at

    Hi, Personally I don't recommend separating these successive processes, you should put them in one execution code and run them sequentially.

    It's a good idea to split the processing time, but if one of them takes too long, or there is an exception handling such as an error, it will not work properly.

    If you want to divide these into different Job Queues, you need to read whether the previous one is completed in the next processing. Run when done.

    Hope this helps as well.

    Thanks.

    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,371 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,806 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,371

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans