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, ...
Unanswered

Infolog is getting cleared

(0) ShareShare
ReportReport
Posted on by 29
Hi

 

When running a batch job we are trying to throw an exception but due to retry in batch jobs functionality the batch job is executed again and previous info-log is getting cleared how to retain the previous error log 

Kindly provide suggestions

 
  • Martin Dráb Profile Picture
    240,911 Most Valuable Professional on at
    D365 consists of many applications, such as Finance and Operations, Sales or Business Central. You're asking in D365 general forum, therefore it's not clear which product you have in mind.
     
    Is it F&O?
  • CU27040907-10 Profile Picture
    29 on at
    Yes Martin, I was talking about D365 F&O  batch jobs.
  • Martin Dráb Profile Picture
    240,911 Most Valuable Professional on at
    Moved from Dynamics 365 general forum.
     
    I believe you should see details of the execution in System administration > Inquiries > Batch jobs > Batch job history. Isn't it the case?
  • CU27040907-10 Profile Picture
    29 on at
    Let me explain the scenario
     
    we are configuring the batch job in
    system administration > inquiries > batch jobs
    with maximum retries set to one
     the batch job is  non retry-able
     
    so  we have removed the number sequence setup and and running the batch job to terminate  it abnormally since retry is set to one the batch job is trying to rerun for second time and batch job status is set to error
     
    Since  rerun is happening  the first  time  messages are getting  cleared and only second time error messages are coming in batch job history>infolog
     
    My QA is mainly  can we store the first time messages and display it  when retry happened or is this the limitation of functionality

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 August 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 555 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
CU10121822-0 Profile Picture

CU10121822-0 378

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans