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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Priority based scheduling in batch job

(1) ShareShare
ReportReport
Posted on by 1,056

Hi all,

I do research but not understood how the PBS will work in batch jobs.

 

Is we need to configure PBS in batch job?

 

Could you please provide me an example how it's worked in real world.

 

Pls advise, thanks 

Categories:
  • Suggested answer
    Deepak Agarwal Profile Picture
    9,306 Super User 2026 Season 2 on at

    Hey, 

    if your question is more from technical or coding, You dont need special X++ code to make PBS work. Your SysOperation batch job will automatically participate in PBS scheduling

    PBS will allocate processing capacity favouring the higher priority jobs first. Microsoft defines weighted processing across priorities, with Reserved Capacity and Critical receiving the largest share of resources. 

    There can be different consideration for different requirment on how you need to configure your batch jobs. 

    For more details you can read MS lean page. 

    Priority-based batch scheduling

  • Suggested answer
    Martin Dráb Profile Picture
    240,742 Most Valuable Professional on at

    Please get used to using a search engine to find information sources such as F&O documentation. In this case, please read Priority-based batch scheduling. Even if you still don't understand something after reading it, you'll have specific questions, instead of just saying that you have no idea and asking us to repeat what's written in the docs.

  • Suggested answer
    CU-1234529-002 Profile Picture
    368 on at

    Hi,

    PBS = Priority-Based Scheduling for batch jobs. Pure config, no X++ needed.

    How it works: Each batch group has a priority (Low/Normal/High/Critical/Reserved capacity). The system doesn't run jobs strictly in order — it picks tasks probabilistically by weight (Reserved ~40%, Critical ~30%, High ~15%, Normal ~10%, Low ~5%), so high-priority jobs get picked far more often but low-priority ones still get a slice.

    Setup:

    System admin → Setup → Batch group → set priority

    System admin → Inquiries → Batch jobs → optionally override priority per job

    Need guaranteed capacity? System parameters → Batch global settings → Batch reserved capacity level

    Example: Month-end GL posting = Critical, routine EDI imports = Normal, ad-hoc report exports = Low. Under load, GL posting finishes on time; exports just queue longer instead of blocking it.

    Docs: Priority-based batch scheduling

  • CU10121822-0 Profile Picture
    1,056 on at

    Thanks for your response 

     

    As mentioned 

    (Reserved ~40%, Critical ~30%, High ~15%, Normal ~10%, Low ~5%) ”

     

    My question is -

    1. Is these above percentage defined in the application any where?  

     

    Setup:

    System admin → Setup → Batch group → set priority

     

     

     

    2. Sorry not understand 

     

    " System admin → Inquiries → Batch jobs → optionally override priority per job

    Need guaranteed capacity? 

    System parameters → Batch global settings → Batch reserved capacity level. "

     

    Here you mentioned  two paths - Kindly elaborate pls.

     

     

    3. As mentioned " Example: Month-end GL posting = Critical, routine EDI imports = Normal, ad-hoc report exports = Low. Under load, GL posting finishes on time; exports just queue longer instead of blocking it.

     

     

    Please let me know which job executed first, then next and so on…

     

    Pls advise, thanks

     

     

     

     

     

     

     

     

  • André Arnaud de Calavon Profile Picture
    307,097 Super User 2026 Season 2 on at

    Hi,

    By reading your follow up questions, I wonder if you have read the documentation as shared above? It gives more context than just the short summary on this forum.

    1. You can then understand that the percentages are fixed. You can only manage the priority on each batch job. Initially, it will be copied from the batch group, but you can override it.
    2. This is also stated in the document. Start reading from the header Set the batch reserved capacity level.
    3. This is also mentioned in the document. The batch framework picks from all priorities, but has available batch threads per priority. In case you have one batch with ‘Low’ to start at 10 AM each day and another batch with ‘Critical’ at the same time, when threads are available, they will start at the same time.

     

  • Anton Venter Profile Picture
    21,227 Super User 2026 Season 2 on at

    @CU-1234529-002 

    Is your reply created using AI? It seems to be the case. Can you mention your source(s)?

    If or when using AI to answer posts, please remember to enable the "Mark reply as AI-assisted" checkbox before posting so that the source is clear to everyone.

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 366

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 360 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans