Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

how to send email when a field changes its value

(0) ShareShare
ReportReport
Posted on by

Hi All,

In Dynamics Nav we have this notification field where emails being send to people when  they are registered to approve Purchase orders.

If you see in the picture that when the status is ready it means that notification emails are working perfectly . But sometime emails tend to get broken for no reason and that status field changes the error or in process ..

So is there a way to send emails to myself ( i am a newly graduated IT )  when the status changes into anything other than ready so that i can give attention to it ?

Any help will be appreciated

Thanks in advance already !

2844.Screenshot_5F00_2.png

*This post is locked for comments

  • Hannes Holst Profile Picture
    5,767 on at
    RE: how to send email when a field changes its value

    Hi,

    Or as an alternative to Suresh, you could add a Subscriber-Function on the Field Status of the Job Queue Entry-table.

    That subscriber-function would trigger an Email when the Status changes to Error.

    docs.microsoft.com/.../subscribing-to-events

  • Suggested answer
    Suresh Kulla Profile Picture
    47,688 on at
    RE: how to send email when a field changes its value

    JobQueue-Check.jpg

    You need access to the development environment. Please check the image, I have used a codeunit to check for the Job Queue for Errors and then send an email notification to the person and set the job on Hold. I have setup to run this codeunit in the job queue. 

  • Community Member Profile Picture
    on at
    RE: how to send email when a field changes its value

    Hi suresh

    Thank you for your answer. you mean By process report is that reports that are designed with Development environment is it ?

    Where i need to create data set, program with C/L and all .

    Would you think that there is an easier way or some template to it please?

  • Suggested answer
    Suresh Kulla Profile Picture
    47,688 on at
    RE: how to send email when a field changes its value

    You need create another process report which will loop through job queue entries and check the status.  If any errored out send email to yourself.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans