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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Release 10.0.39 Batch job history changes

(2) ShareShare
ReportReport
Posted on by 10
Hi Experts,

Need help to understand and mitigate the new changes related to batch jobs in 10.0.39 release. We don't want to loose any of the job history.

Feature from Release Note:
If the batch job has more than 5,000 batch tasks, then the corresponding job history would only save first 2,500 tasks, preferring tasks with status in following order: Error -> Canceled -> Finished -> Not Run. This measure has been implemented to prevent blocking batch related tables that may occur due to such large jobs. For more information, see Create a batch job.
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,915 Super User 2025 Season 2 on at
    Hi,
     
    This message is about tasks within a batch job. I haven't seen this number of tasks used apart from one scenario where someone added a task per record using X++ coding instead of a bundle of records.
     
    Do you have batch jobs with this huge number of tasks? 
  • Community member Profile Picture
    2 on at
    In the 10.0.39 release, a significant change has been made regarding batch jobs, particularly regarding how job history is handled for large batch jobs with more than 5,000 batch tasks. Previously, all batch tasks were stored in the job history, regardless of the job size. However, to address potential performance issues and prevent blocking of batch-related tables due to the size of such jobs, a new approach has been implemented.
    Now, if a batch job contains more than 5,000 tasks, only the first 2,500 tasks will be saved in the job history. However, it's crucial to note that the system prioritizes which tasks to save based on their status. Tasks with the status of Error, Canceled, Finished, and Not Run will be saved first, in that order of priority.
    To ensure that you don't lose any critical job history data, it's essential to understand this new behavior and take proactive steps to mitigate any potential impact. One approach could be to regularly monitor and archive job history data for large batch jobs, especially those exceeding the 5,000-task threshold. By periodically archiving historical data, you can maintain a comprehensive record of job history while also managing database performance effectively.
    Additionally, consider optimizing batch job configurations to minimize the number of tasks generated for large jobs wherever possible. This could involve breaking down large jobs into smaller, more manageable batches or optimizing job scheduling to distribute workload more evenly over time.
    Overall, by staying informed about these changes and implementing proactive measures to manage batch job history effectively, you can ensure that your organization continues to benefit from efficient batch processing without sacrificing critical historical data.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans