We need an automated Alert for if any of the Auto-batch jobs failures as we have no monitoring of this in place currently..
We need an automated Alert for if any of the Auto-batch jobs failures as we have no monitoring of this in place currently..
Hello Vishal,
In his response, Nuno provided a solution using Business Events in combination with Power Automate. In Power Automate you would be able to define the email adresses for each recipient. So, when batch job fails it will trigger a business event. In power automate, you will have to add a connector for Dynamics 355 F&O and create a flow that makes use of the business event as a trigger.
Alternatively, you could try making use of standard alerts for a Batch job. In teh recipient emails you list all teh email adresses separate by a comma (no space in between). I have not tried for Batch Jobs but is should work. You can quickly test by using Ended or Withould as the status that will trigger the notification and see what happens.
thanks for the Reply Danny,
with this approach we will be able to send the notification only to the user that setup the batch job
what if we have to send notification to multiple user, how can we achieve this can please provide some suggestion
Just another alternative, when you need to control destination e-mail
Go to Business events in Batch job
enable error business event
Go to Power Automate and trigger and e-mail for each failed job
When you create teh batch job, there is always a menu wher you can configure the alerts. The user that sets-up the batch will be the user that is notified.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156