By default, WSS3.0 automatically deletes workflow history after 60 days. The purge doesn't technically delete the history - but it deletes the association that ties the document to the workflow history. It also deletes any tasks that were created by the workflow. This is for performance considerations, courtesy of the Workflow Auto Cleanup timer job in the config section. Three options to consider: Disable the Workflow Auto Cleanup timer job completely. (Please note that this might have serious performance implications, and should be planned carefully) Include a specific xml tag in your workflow feature.xml file that controls the number of days retained for the workflow history (max days = 9999) Run a job nightly to force all the workflow history retention settings to a certain number of days (max days = 9999) To set the time schedule for when the scan will occur to delete workflow data for the Web application, http://test, use the following syntax: stsadm -o setproperty -pn job-wo...
Idea, Thought, Opinion, Feedback, Challenges, Experiences on Microsoft platform.