Linkedin Twitter Youtube Email

Error Handling in SharePoint Workflow’s Created with Visual Studio

I am working with one of the  largest Insurance companies who will be processing thousands of workflow’s to approve reports stored in report libraries.

Earlier we created a Visual Studio workflow which reads metadata from the report libraries to determine where to publish reports once submitted and approved.

The focus now is on error handling and logging.

One key point to note is that using the workflow designer in Visual Studio you can enable fault handling.

Read this MSDN article to learn about fault handling.

David Mann’s post adds much value to the MSDN information.

In addition the are other links I found useful during the process. In particular I liked Robin’s post below regarding writing to the event logs.

http://msdn.microsoft.com/en-us/library/aa543980.aspx

http://glorix.blogspot.com/2007/03/spd-workflow-activity-creating-document.html

http://rdacollab.blogspot.com/2008/07/logging-sharepoint-workflow-errors-in.html

Another option is to write to the SharePoint logs under the infamous “12 hive” using the unified logging service

I’ll post an update with the pros and cons of each approach at a later date.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Video and Streams

demo_image-5
#Microsoft​ #MSFTinHealth

Microsoft Cloud for Healthcare overview

X