Hi
I am wondering if there is away I can get notify when the workflow or system job failed.
Thanks,
Dee
*This post is locked for comments
Hi
I am wondering if there is away I can get notify when the workflow or system job failed.
Thanks,
Dee
*This post is locked for comments
For Custom Workflow use try and catch block. In Catch Block send email to crm admin that workflow has failed.
try
{
}
catch (Exception ex)
{
// Write you send email logic here//
//
throw new Exception(ex.Message + Environment.NewLine + ex.StackTrace);
}
Hi,
Build a personal view of failed Workflow system jobs. Filter for current user jobs if necessary. Add this to a personal dashboard so you can see anything that appears there, and follow up accordingly.
Hi,
as far as I know, you can't register a workflow/plugin for the System Job entity, so you may have to use a dashboard instead. Sure you can always create some sort of external app to keep pulling failed system jobs data from Dynamics every few minutes, and that application might take care of the notifications, but it's a different story.
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