Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Fault Handlers in Custom VS workflow

$
0
0

Hi,

I am using visual studio 2010 sequential workflow.

The workflow is started when an item is added in custom list. The Manager is send a e-mail about the Task. Manager approves or rejects the Task. A final email is send to Admin team, if the task is approved by the Manager.

I have currently added the "System.Exception" and "System.SMTP.Exception". In the fault handler, I am logging the error in the workflow history and also sending the email.  Sending of email is done using the .NET method of send email. The list of users to send the email in case of error, is taken from another custom list.

There are scenarios in which i am getting the email recipient (s) not being a proper e-mail id (even in fault handler, when i have to send the fault email).

I have checked this link: http://social.msdn.microsoft.com/Forums/en-US/47d8f124-6dc2-4628-94d1-668497d27453/any-pointers-on-how-to-effectively-use-the-fault-handlers-for-the-custom-workflows

However, I am looking for a solution,which is matching the error which I have mentioned.

How to handle this? What other exceptions should be handled?

Thanks



Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>