Troubleshooting “Workflow History is Missing” in SharePoint
The “Workflow History is Missing” error occurs when the workflow history associated with a SharePoint workflow is unavailable or inaccessible. Workflow history is essential for tracking workflow progress, troubleshooting errors, and maintaining logs of executed workflow actions.
This issue can arise due to the automatic deletion of history records, insufficient permissions, corrupt lists, or workflow association issues. Below is a detailed step-by-step guide to diagnose and resolve the problem.
Step 1: Check if Workflow History List Exists
- Go to Site Contents:
- Open SharePoint and navigate to the site where the workflow is running.
- Click on “Site Contents” and look for a list named “Workflow History”.
- Manually Open the Workflow History List:
- If the list exists, click on it and check if any records are available.
- If an error occurs while accessing the list, it may be corrupted or have permission issues.
- Search for Renamed Lists:
- If the Workflow History list has been renamed, workflows may fail to log actions correctly.
- Go to List Settings and check if the list name has been changed.
Step 2: Verify Workflow History Retention Settings
1. SharePoint Automatically Deletes Workflow History
- SharePoint automatically removes workflow history records after 60 days by default in SharePoint 2010 and 2013 workflows.
- If your workflow ran more than 60 days ago, its history may have been purged.
2. Increase Workflow History Retention
- If you need workflow history for long-term tracking, use Power Automate logging, or log actions to a separate custom list instead of the built-in Workflow History list.
- If you want to prevent history deletion in SharePoint Designer workflows:
- Modify the workflow to log data to a separate SharePoint list instead of Workflow History.
Step 3: Check Workflow History List Permissions
- Go to Site Contents > Workflow History List.
- Click on List Settings > Permissions for this list.
- Ensure that the following groups have the correct permissions:
- Workflow Initiators – Contribute or Edit
- Workflow Owners – Full Control
- System Account (if used) – Full Control
- If permissions were removed, restore them and test the workflow again.
Step 4: Ensure Workflow History List is Not Hidden
By default, the Workflow History List is hidden in SharePoint. To check and unhide it:
For SharePoint On-Premises (PowerShell Method)
- Open SharePoint Management Shell as Administrator.
- Run the following PowerShell command:
Get-SPWeb "https://yoursiteurl" | Select-Object -ExpandProperty Lists | Where-Object { $_.Title -like "*Workflow History*" }
- If the list appears but is hidden, unhide it using:
$web = Get-SPWeb "https://yoursiteurl" $list = $web.Lists["Workflow History"] $list.Hidden = $false $list.Update()
For SharePoint Online (Using SharePoint Designer)
- Open SharePoint Designer and connect to your site.
- Click on “All Items” under Lists and Libraries.
- Find Workflow History, right-click, and select Properties.
- Ensure Hidden is set to False.
- Save and re-publish the workflow.
Step 5: Restore a Deleted Workflow History List
If the list was accidentally deleted, try restoring it from the Recycle Bin:
- Go to Site Settings > Recycle Bin.
- Look for the deleted Workflow History list.
- Select it and click Restore.
- After restoration, re-run the workflow to see if history logs correctly.
If the list is permanently deleted, create a new one (Step 6).
Step 6: Recreate the Workflow History List
If the Workflow History List was deleted and cannot be restored, create a new one:
For SharePoint 2010/2013 Workflows (Using SharePoint Designer):
- Go to Site Contents > Add a new list.
- Choose “Custom List”, name it “Workflow History”.
- Open SharePoint Designer and:
- Select your workflow.
- Go to Workflow Settings > History List.
- Change the workflow to use the newly created Workflow History list.
- Save and Republish the workflow.
For Power Automate Workflows:
- Create a new SharePoint List (e.g., “Workflow Logs”).
- Modify your Power Automate workflow to log messages to this list instead of the default history.
Step 7: Check Workflow Timer Service (For On-Premises Users)
The Workflow Timer Service is responsible for processing workflows and logging history. If it is not running, workflows may not log history properly.
- Open Services (services.msc) on your SharePoint Server.
- Locate “SharePoint 2013 Workflow Timer Service”.
- If it is stopped, restart it.
- Alternatively, restart it using PowerShell:
Restart-Service SPTimerV4
Step 8: Check SharePoint Logs for Errors (For On-Premises Users)
If workflows are not logging history, check ULS logs for errors:
- Open SharePoint Management Shell.
- Run:
Get-SPLogEvent | Where-Object { $_.Message -like "*workflow*" }
- Look for messages related to history list access, missing lists, or service failures.
Step 9: Re-Publish or Recreate the Workflow
If history logging still does not work, try recreating the workflow:
- Open SharePoint Designer or Power Automate.
- Save a backup of the existing workflow.
- Create a new workflow with the same logic, but log actions to a new history list.
- Publish and test the workflow.