I'm trying to purge the contents of the workflow history list which has thousands of comments added by the some workflows (I will fix the workflows later!). I'm worried that the huge number of entries in this list is slowing down the site performance. At
this stage I do not need any of these entries for any audting or other purpose. I'm not sure of the best way to go about this.
My current strategy is to rely on the workflow autoclean sp timer job, after first running some code to set the AutoCleanupDays property of the SPWorkflowAssociation. I'm hoping that once I have run this on all the document libraries in my site where workflows
have been run I will then be able to delete the Workflow History list using the Sharepoint Web UI "Delete this list" hyperlink.
When I do this at them moment I get an error as below:
Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) at Microsoft.SharePoint.Library.SPRequestInternalClass.DeleteList(String bstrUrl, String bstrListName,
UInt32 dwDeleteOp, Guid& pgDeleteTransactionId)
at Microsoft.SharePoint.Library.SPRequest.DeleteList(String bstrUrl, String bstrListName, UInt32 dwDeleteOp, Guid& pgDeleteTransactionId)
View Complete Post