First published on TECHNET on Dec 17, 2012
This blog post is a contribution from Balaji Sadasivan, an engineer with the SharePoint Developer Support team.
In order to audit workflows, we require to see the name of the workflow in the history list.
Currently the workflow history has no provision to show the workflow name.
Create a new workflow history list from the schema of the original workflow history list. To the workflow history list add an ItemAdded even handler. In that write the flowing code:
The new list will show up with the workflow name, workflow association ID, List ID, date occurred. You can add fields like user ID etc. to the custom list query it from the workflow history list and add it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.