SQL Stored Procedure
Input
✳️ Any (JSON
)
Ouptut
✳️ Any (JSON
) (Passthrough)
Response Data (object
) (Optional)
Summary
The SQL Stored Procedure action allows you to invoke a stored procedure on a remote Microsoft SQL Server or Azure SQL instance.
Compatibility
Microsoft SQL Server 2016 and newer
Azure SQL
Features and Limitations
SQL Login Authentication
Windows or Microsoft Entra ID Authentication
Execute standard and encrypted stored procedures
Pass parameters
Pass or retrieve OUTPUT
parameters
Pass table-valued parameters
Read log output (via RAISERROR
or similar)
Read result sets (includes support for multiple result sets)
Read the return code emitted by the RETURN
statement
Networking and Firewall Considerations
In order for the stored procedure to be called, the iWorkflow engine environment needs to be able to connect to the target SQL Server.
Please refer to the Environment Setup page for a list of IP addresses to whitelist.
Properties
Name | Type | Templatable | Notes |
---|---|---|---|
Host | Text | The hostname or IP address of the SQL Server. If using a DNS name, the name must be able to be resolved publicly. | |
Port | Number | The SQL server port number. Defaults to the standard SQL port of 1433. Do not modify unless you are certain that your SQL server runs on a non-standard port. | |
Database | Text | The name of the database (or “Initial Catalog”) to connect to. | |
Username | Text | The username to authenticate with. | |
Password | Text | The password to authenticate with. | |
Procedure Name | Text | The name of the stored procedure. Do not include | |
Parameters | List | Specify the parameters to pass to the stored procedure. Ensure the parameter names match the procedure definition exactly, including casing. All required parameters must be specified or the action will fail. | |
Timeout (minutes) | Number | Specify the number of minutes to wait for the procedure to execute, between 1 and 60. Defaults to 5 minutes. | |
Use Transaction Coming Soon | Checkbox | Specifies whether or not to wrap the procedure execution inside a transaction. Feature not available - coming soon | |
🅾️ Output Property | Text | Specify the name of the property to store the output data of the stored procedure. The output schema is as follows, if for example the output property is named
JSON
|