Actions - SQL Update

Overview

The SQL Update Action item executes a query that updates data. Ideally a Stored Procedure is created which is then executed from the Action using a small SQL statement.

Steps

Info

The Input Parameters that can be used in the SQL differ based on the module that the Action is linked to. The parameter list can be found in the left panel of the SQL Editor.

  1. Add an item to the Action.
  2. In the Type column, select SQL Update.
  3. Add a Description for reference purposes.
  4. Right-click the item and select Edit SQL.
  5. Click Template (button) to generate the basic SQL required for this Action item.

SQL Template

Info

The template depends on the module that the Action is linked to.

Linked to Template
Not linkedexecute procedure [PROCEDURE_NAME](:ACTIVEUSERID)
A Transaction Typeexecute procedure [PROCEDURE_NAME](:TRANSID, :ACTIVEUSERID)
A Workflowexecute procedure [PROCEDURE_NAME](:WORKFLOWID, :ACTIVEUSERID)
A Trackerexecute procedure [PROCEDURE_NAME]([:USERFIELD_NAME1], [:USERFIELD_NAME2], :ACTIVEUSERID)
A Reportexecute procedure [PROCEDURE_NAME](:ACTIVEUSERID)

Report an issue with this page

For more useful feedback, select the text on the page you're reporting about, then click Feedback again — or continue without selecting anything.