web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Alert when custom workflow/System job failed.

(0) ShareShare
ReportReport
Posted on by 504

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

I have the same question (0)
  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    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.

  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at

    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.

  • Suggested answer
    Community Member Profile Picture
    on at

    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);
    }

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans