Welcome to EMC Consulting Blogs Sign in | Join | Help

Paul Galvin's Blog

Logging Workflow Activity in SharePoint Designer

Last week, I was working out how to loop and implement a state machine using SharePoint Designer and mentioned, as an aside, that I would probably write a blog post about better workflow logging.

Well, Sanjeev Rajput beat me to it.  Have a look

Saving log data into a custom list seems superior to using the regular workflow history:

  • It's just a custom list, so you can export it to excel very easily.
  • You can create views, dynamically filter the data, etc.
  • It's not subject to the auto-purge you get with regular workflow history.

There are some risks / downsides:

  • Many running workflows with a lot of logging could cause too much data to be written to the list.
  • Maybe you *do* want automatic purging.  You don't get that feature with this approach (without coding).
  • Security is tricky.  In order to write to the list, the user must have permission to do so.  That means that it's probably not suitable for any kind of "official" audit since the user could discover the list and edit it.  This could be overcome with some custom programming.

</end>

Technorati Tags:

Subscribe to my blog.

Published 18 May 2008 08:51 by paul.galvin
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

share point said:

Really Informative. Thanks For the great blog.

January 2, 2009 06:09

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Personal Edition), by Telligent Systems