Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need a function whereby an alert notification is sent automatically to Admin & List owner when a workflow is failed or not started or stops in between. Any help ??

share|improve this question

4 Answers 4

up vote 3 down vote accepted

What I do is create a view, filtered by the status of the workflow column (not equal In progress, not equal Completed). Then you can subscribe for alerts to this specific view.

HTH

share|improve this answer
    
Clever!! Simple. –  saumilm Mar 5 '12 at 17:21
    
Thanks, pls mark as answered if you're satisfied. –  David Lozzi Mar 5 '12 at 19:27
    

You can create SPWorkflowEventReceiver. In this receiver you have access to the SPWorkflowEventProperties. In this properties you have information about exception, thus you can send detailed information to administrators.

share|improve this answer

Or you could automatically try to restart failed workflows using a timer job: http://blogs.msdn.com/b/tejasr/archive/2010/05/26/automatically-restart-the-failed-workflow-instances.aspx

share|improve this answer

I get a type mismatch error when attempting the proposed filtered view answer. I found an alternate solution: http://www.mysharepointadventures.com/2013/02/get-notified-whenever-a-sharepoint-workflow-fails/ and it works for all the workflows for a site instead of a specific list.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.