**NOTE: This plug-in is deprecated and no longer recommended for use for sites running on Appian 22.1 or later. The functionality of this component is available in Appian without installing the plug-in. You can use a!executeStoredProcedureForQuery(), a!executeStoredProcedureOnSave(), or the Execute Stored Procedure Smart Service in Appian 22.1 or later.**
Overview
This plug-in provides a Smart Service and Function for executing stored procedures. The Smart Service can be used to execute stored procedures that modify data. Result sets are returned as CDTs. As custom functions cannot have side-effects, it must not be used to execute stored procedures that modify data. It is only safe to use the Smart Service with stored procedures that modify data. Following SQL Statements should not be used by the stored procedures executed with the function:
Key Features & Functionality
Hi,
We have a parameter called timeout. When we try to pass value to this parameter, we are getting "Expression evaluation error at function 'executestoredprocedure' [line 2]: Unexpected number of parameters."
Appian Version: 21.1
Execute store proc plugin version: 1.5.1, Even tried with 1.5.4 version.
Any idea to resolve this issue would be very helpful!
Thanks in Advance.
Hi All,
Please find the updates on the above-mentioned issue.
This issue is being caused due to the syntax miss. The Inputs should be between double curly brackets {{ }} and the timeout value declared after the list.
Please see the example below: fn!executestoredprocedure( "jdbc/AppianAnywhere", "sp_ListBooks", { { name: "title_search", value: "%pig%" } }, 80 )