Tuesday, June 15, 2010

Invalid WorkflowInstanceID parameter in URL

This error might be encountered for the item(s) whose workflow completed and initiated long back.
This is because of AutoCleanupDays property of Workflow. By default, the value is set to 60 days. After 60 days, if the workflow status is complete and initiated 60 days before, this workflow instance will be deleted.

This kind of deletion is for site performance purposes. To delete all theses old workflow instances, SharePoint runs a timer job named "Workflow Auto cleanup". If you wanted to keep all those workflow instances, you can go to Central Admin -> Operations -> Timer Job definitions -> Disable Workflow Auto Cleanup task.

No comments: