Skip to main content
Nintex Community Menu Bar
Knowledge Base

SmartObject Execution Time longer than usual

  • July 28, 2025
  • 0 replies
  • 39 views

Forum|alt.badge.img+5

Topic

The execution of a SQL SmartObject calling a stored procedure is taking longer than usual and would even hit an unexpected timeout error when it previously did not. This is likely caused by parameter sniffing in SQL. 


Instructions 

There are two options you may consider to get around this:

  • Run the ALTER PROCEDURE command on the stored procedure without making any changes or
  • Modify the stored procedure such that OPTION(RECOMPILE) is added to the end of the stored procedure so that the execution plan gets renewed on every execution.


Additional Information