Run a Stored Procedure
To run a stored procedure, do the procedure in this topic.
Good to Know
- In most text fields, you can use process data variables as an alternative to literal data values.
- You can configure whether this activity waits for other activities before it runs.
For more information, refer to How Do I Configure an Activity to Wait for Other Incoming Activities?
How to Start
- Open Process Builder.
For information about how to open this screen, refer to Process Builder.
- Do one of these:
Procedure
- To run a stored procedure, do one of these.
- To run a basic stored procedure:
- On the Stored Procedure screen, in the Basic tab, in the Database list, select your database access token.
To create a new access token, click Create . For more information, refer to Access Token for Database.
- In the Stored Procedure Name list, select your stored procedure.
- In the Value/Attr. Name field, enter the value of the stored procedure parameter, or drag a process data variable from the Process Data screen.
- To specify the input and output options for the stored procedure, complete this field
as necessary.
Field Name Definition In/Out
- Description:
- Specifies the in/out parameters for the stored procedure.
- Allowed Values:
-
- Input - Specifies that the parameter is an input value for the stored procedure.
- Output - Specifies that the parameter is an output value for the stored procedure.
- InputOutput - Specifies that the parameter can be input/output value for the stored procedure.
- ReturnValue - Specifies that the parameter is a return value for the stored procedure.
- Default Value:
- None
- Accepts Variables:
- No
- In the Data Type list, select the data type of the stored procedure parameter.
- In the Size field, enter the size of the input parameter for the stored procedure.
- On the Stored Procedure screen, in the Basic tab, in the Database list, select your database access token.
- To run an advanced stored procedure with a SQL:
- On the Stored Procedure screen, click Advanced tab. .
- On the Advanced tab in the Database list, select your database access token.
- In the SQL field, enter a SQL statement to run on the database. You can drag the stored procedure name from Stored Procedure Name list to create a SQL query.
- To run a basic stored procedure: