Troubleshooting “Workflow Timer Job Exceeded” Error in SharePoint
The “Workflow Timer Job Exceeded” error occurs when a SharePoint workflow takes longer than the allowed execution time. SharePoint uses timer jobs to run workflows, and if a job exceeds its time limit, it fails.
This issue is common in SharePoint 2010, 2013, 2016, 2019, and SharePoint Online and can be caused by:
✅ Long-running workflows with multiple steps.
✅ Large data processing operations in the workflow.
✅ Workflow timer service failures.
✅ SharePoint server performance issues.
This guide provides a step-by-step process to diagnose and resolve the issue.
Step 1: Identify the Workflow Type
Before troubleshooting, determine which type of SharePoint workflow you are using:
- SharePoint 2010 Workflow (Uses SharePoint Workflow Engine).
- SharePoint 2013 Workflow (Uses Workflow Manager).
- Power Automate (Flow) (For modern SharePoint Online).
Check Your Workflow Type in SharePoint Designer
- Open SharePoint Designer.
- Click on Workflows.
- Locate your workflow and check the Platform Type (2010 or 2013).
🔹 If using Power Automate, check execution logs in Power Automate portal.
Step 2: Check Workflow Execution Logs
To understand why the workflow is exceeding the time limit, check the execution logs.
For SharePoint Online (Power Automate Users)
- Open Power Automate.
- Click My Flows > Select the failing workflow.
- Check the Run History for failed instances.
- Look for long-running actions (loops, delays, or large queries).
For SharePoint On-Premises (ULS Logs and Workflow History List)
- Open SharePoint Central Administration.
- Navigate to Monitoring > Review job definitions.
- Find Workflow Timer Job and check its status.
- Open ULS Logs and search for:
Get-SPLogEvent | Where-Object { $_.Message -like "*workflow*" }
- Review the Workflow History List to identify which action is taking too long.
🔹 If a specific action takes longer than expected, proceed to Step 3.
Step 3: Optimize Workflow Actions
If a workflow includes loops, long delays, or large queries, it may exceed the timer job limit.
Reduce Long-Running Actions
- Avoid unnecessary loops (For Each, While).
- Break workflows into smaller parts to prevent long execution times.
- Reduce query complexity if the workflow retrieves too many items.
- Use wait conditions efficiently instead of excessive delays.
🔹 If the workflow cannot be optimized further, proceed to Step 4.
Step 4: Increase Workflow Timer Job Frequency
The Workflow Timer Job runs at scheduled intervals. If it’s too infrequent, workflows may time out.
Modify Timer Job Frequency (On-Premises Only)
- Open Central Administration.
- Go to Monitoring > Review Job Definitions.
- Locate “Workflow Timer Job”.
- Click Edit Schedule and set a shorter interval (e.g., every 5 minutes).
- Click OK and restart the timer service:
Restart-Service SPTimerV4
🔹 If the issue persists, proceed to Step 5.
Step 5: Restart Workflow Timer Service (On-Premises Only)
If the Workflow Timer Service is unresponsive, workflows may exceed their time limits.
Restart via Services (GUI Method)
- Open Run (
Win + R
) and typeservices.msc
. - Locate SharePoint Timer Service (SPTimerV4).
- Right-click and select Restart.
Restart via PowerShell
- Open SharePoint Management Shell.
- Run:
Restart-Service SPTimerV4
🔹 If restarting the service does not help, move to Step 6.
Step 6: Increase Workflow Execution Timeout (For SharePoint 2013+)
If workflows frequently exceed their execution limit, increasing the timeout value can help.
- Open SharePoint Management Shell as Administrator.
- Run the following command:
Set-SPFarmConfig -WorkflowTimerJobTimeout 300
(This increases the timeout to 300 seconds.) - Restart IIS to apply the changes:
iisreset
🔹 If the workflow still fails, move to Step 7.
Step 7: Check SharePoint Server Performance (For On-Premises Users)
A slow or overloaded server can cause workflows to exceed the time limit.
Monitor Server Performance
- Open Task Manager (
Ctrl + Shift + Esc
). - Check CPU and RAM usage.
- If usage is high, consider adding more resources to the SharePoint server.
Optimize SQL Database Performance
- Open SQL Server Management Studio (SSMS).
- Run the following query to check for long-running queries:
SELECT * FROM sys.dm_exec_requests WHERE status = 'running'
- If queries take too long, optimize indexing and cleanup logs.
🔹 If the server is running well, proceed to Step 8.
Step 8: Split the Workflow into Smaller Workflows
If a workflow has too many actions, consider breaking it into smaller workflows.
How to Split a Workflow in SharePoint Designer
- Identify logical breakpoints where the workflow can be split.
- Create a new secondary workflow to handle part of the logic.
- Use the “Start Another Workflow” action to trigger the second workflow.
- Publish and test the workflows.
🔹 If splitting the workflow does not help, proceed to Step 9.
Step 9: Migrate to Power Automate (For SharePoint Online Users)
If SharePoint Designer workflows are frequently failing, migrating to Power Automate (Flow) may be a better solution.
Benefits of Power Automate Over SharePoint Designer
✅ More reliable execution.
✅ Better handling of long-running processes.
✅ More integration options.
🔹 If migration is not possible, go to Step 10.
Step 10: Recreate the Workflow (If All Else Fails)
If none of the above steps resolve the issue, recreating the workflow may be necessary.
- Open SharePoint Designer.
- Export the existing workflow as a backup.
- Create a new workflow with the same logic.
- Test and optimize it for performance.