How many of you noticed that your workflow history and task list are being removed after every 60 days when the workflow status is Completed or Cancelled? who is responsible for this.
Yeah , you guess it right from the title of the blog "SharePoint Workflow Auto Cleanup timer Job".
By default the timings for removing task list and workflow history list is 60 days. We can change that according to our choice.
This job is enabled by default. If you want to disable it, to retain the workflow history information. Here are the steps below:
- From Central Administration, click the Monitoring tab.
- On the Monitoring page, click Review job definitions.
- On the Timer Job Definitions page, click Workflow Auto Cleanup to edit the appropriate timer job.
- On the Edit Timer Job page, click Disable and then click OK to disable the Workflow Auto Cleanup feature.
Happy SharePointing :-)

Tân Võ ChíPosted Sep 15, 2020, 11:38 PM
Me too. Need to know in SharePoint Online? Error is "We can't find that workflow. Completed instances are automatically cleaned up after 30 days."
Rajkiran SwainPosted Mar 15, 2018, 2:50 AM
How we can do it in SharePoint online ? I have lost my all records those are crossed 60 days . Please let me know the solution so that i have recovered my data and it will help me for Audit purpose .