Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)
Answered

Exception handling in Multithread Batchjobs

(0) ShareShare
ReportReport
Posted on by 278

Hi,

I am facing issue when my customised Multithread class batchjob runs in recurrence batch.

It is not giving me proper error message when it is running in a Batchjob, It is giving only the last run message from the transactional method even though iam storing the logs in container.

But when I am running it individually from the menuitem it is giving me proper error messages.

Is there something iam missing to catch all the logs and report it while running in Batchjob.

Thanks in Advance for the helpful suggestions.

*This post is locked for comments

  • Verified answer
    RE: Exception handling in Multithread Batchjobs

    Hi,

    I got the crux behind it.

    we have to write the logic of selecting a table inside the run method of the processing class which is called by Multithread class.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans