Skip to main content
Nintex Community Menu Bar

Workflow with Execute SQL Action Fails to Run with Timeout Error

  • March 26, 2021
  • 0 replies
  • 183 views
  • Translate

butlerj
Nintex Employee
Forum|alt.badge.img+20
ISSUE
Workflow that is started automatically (by other workflow/scheduled), with an Execute SQL action is failing to run, sometimes with explicit SQL timeout errors, and other times without.
ERROR CODE
RESOLUTION
  1. Copy your SQL query from the Execute SQL action.
  2. Open SQL Management Studio and run the query against the associated database.
  3. If the query is taking close to, or longer than 15 seconds, this could result in a SQL timeout.
This issue can be resolved by extending that connection timeout value inside the Execute SQL action. Append Connect Timeout=XX at the end of the connection string. For example:
DataSource=server;InitialCatalog=database;IntegratedSecurity=True;Connect Timeout=30

 
ADDITIONAL INFORMATION
The Execute SQL action executes via the .NET framework and there is a built in 15 second timeout value that can cause workflows to fail.
RELATED LINKS
Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings