Workflow issues can occur if the timeout setting for the SharePoint timer service is not long enough for your workflows to complete. This document provides instructions for viewing and changing the timeout setting by editing the web.config file for the web application.
Disclaimer: Consult your administrator and the referenced Microsoft articles to determine the optimal SharePoint configuration for your environment.
For more information on this timeout setting, including stsadm commands for viewing and changing the setting, see “Timeout” under “Important Workflow Configuration Settings” in the MSDN article Workflow Scalability and Performance in Windows SharePoint Services 3.0.
For a description of the default timer jobs created by SharePoint, see the TechNet article Timer job reference (SharePoint 2013).
To view the timeout setting for a web application
- From IIS Manager, right-click the web application and select Explore.
The files for the web application are displayed in Windows Explorer.
- Open the web.config file in a text editor.
- Search the file for the following string (must be within a <system.transactions> section under <configuration>):
If the string does not exist in the file, then the default timeout setting is used.
To specify the timeout setting for a web application
- View the web.config file as described in the previous procedure.
- If "defaultSettings timeout" does not exist, then add it to the file, placing it within a new <system.transactions> section at the very end of the <configuration> section.
Example (no timeout value):
<defaultSettings timeout=”” />
- If “defaultSettings timeout” exists and it is contained within a <system.transactions> section under <configuration>, then update the value as desired.
Example set to 30 minutes:
<defaultSettings timeout=”00:30:00” />
- Perform the IISReset command on all web front end servers.