Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Send Alerts when Dynamics AX Batch job critical stop error occurs

Posted on by 50

Hello, we have a batch job that gets a "Critical Stop Error".  The batch job continues to run through and could pull a couple of these errors.  

What I am looking for is how to send an email on each of the critical stop errors, and have that go to specific users.

pastedimage1585659036615v1.png

  • DavidDe Profile Picture
    DavidDe 50 on at
    RE: Send Alerts when Dynamics AX Batch job critical stop error occurs

    Thank you both, I was able to find another way to get this done.

    By logging into AX and Navigating to Accounts Receivable > Periodic > Collections > Order Payment Details

    Create a Filter for a Status of Error, Declined & the Date.

  • zhifeng Profile Picture
    zhifeng on at
    RE: Send Alerts when Dynamics AX Batch job critical stop error occurs

    As André mentioned, if this is a logic error, then you need to add some additional coding to get alerts.

  • DavidDe Profile Picture
    DavidDe 50 on at
    RE: Send Alerts when Dynamics AX Batch job critical stop error occurs

    Thank you for the reply Andre, the job is a custom job, as for the status after the batch runs, the history says the status equals "Ended".

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Send Alerts when Dynamics AX Batch job critical stop error occurs

    Hi David,

    Can you tell what is the status of the batch history after it finishes the execution and it contains errors? If this has an error, you can setup alerting on the batch job. If it doesn't recognize the error, then the coding is catching all errors and indeed continues. In that case, you probably need to add some additional coding to get alerts. As you did mask some parts of the screenshot, I'm not able to see if this is a standard job or customization.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans