Workflow History versus Audit Trail

MOSS removes the association between workflow tasks, history items and the workflow 60 days after the workflow has been completed through the workflow cleanup timer job for performance reasons. Consider this next suggestion a workaround for that bad design; most companies that develop custom workflows will want that history around for some time. Several alternatives are available, albeit brute-force methods, but the one I elected to go with is to place the following bit of configuration in the workflow.xml prior to associating a workflow.

workflow.xml


<Elements>
<Workflow>
..
<MetaData>
<AutoCleanupDays>9999</AutoCleanupDays>
</MetaData>
..



See Brian Farnhill for more documention on this issue.

Comments

Popular posts from this blog

SharePoint Jokes

San Francisco Trivia for Drupalers