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
add comment

3 Answers 3

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
    
add comment

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
add comment

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
add comment

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.