Using SQL Select nodes with RSA Identity Management and Governance
Originally Published: 2015-04-24
Article Number
Applies To
RSA Product/Service Type: Identity Management and Governance
Issue
Configuration
General Tab
The general tab of the SQL Select node is the same as the general tab of all nodes. There are fields for the node’s name and description, as well as fields to set various status messages for the node. The values input into the general tab do not affect the resulting variable’s name or contents.
Query Tab
The query tab contains two fields, the Query field and the Variable Scope Field
Query Field
This is where the select statement is input. If inputting a single statement the query does not need to be terminated by a semicolon. The SQL query has a 4000 character limit, as does the value being retrieved.
Variable Scope Field
The Variable Scope Field determines the scope in which the newly created variable can be called. There are three options: Node level, Job Level, and Public level.
- Node level allows the variable to be called only in the node in which it is defined.
- Job level allows the variable to be called in the workflow in which it is defined.
- Public level allows the variable to be called in the workflow in which it is defined, as well as in any of that workflow’s parent/child processes.
The name of the newly created workflow variable is a composite of the Variable Scope and the Column name/alias that is selected in the query. The scope will be lower cased, the column upper cased, as shown here:
${[scope]UserData_[COLUMN or ALIAS]}
Example
- Let’s say we want to include the submission notes field for a change request in an email; we can use a SQL Select node to capture the value and bring it into the email node. In the query tab, input the following:
SELECT notes FROM pv_change_request WHERE name = ${access_request_requestID}
This SQL query will return the contents of the notes column which are associated with this change request’s number.
- Then set the Variable Scope on the same tab to Job level so it can be used in the rest of the workflow in which it was defined. The resulting variable is ${jobUserData_NOTES}, which can be put in the body of the email node. If, for some, reason we need the variable to have a different name, like if we already have a jobUserData_NOTES variable, use an alias in the SQL query to bring in the variable named whatever we want.
SELECT notes AS 'test' FROM pv_change_request WHERE name = ${access_request_requestID}
This would result in a variable named ${jobUserData_TEST}.
Related Articles
RSA Governance & Lifecycle Webservice RESTful Connector Datasheet 37Number of Views Unable to search or filter on specific user in Approval Node in a workflow in RSA Identity Governance and Lifecycle Versio… 11Number of Views RSA Identity Governance and Lifecycle SQL SELECT or SQL EXECUTE nodes with syntax errors 435Number of Views Approvals using PublicData_ form variables auto-approve by System in RSA Identity Governance & Lifecycle 36Number of Views Select User Groups for Self-Service 29Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?