RSA Version/Condition: 6.9.1. 7.0.0, 7.0.1, 7.0.2 ,7.1.0, 7.1.1
How to check the status of a RSA Identity Governance & Lifecycle Provisioning Command workflow node
The Provisioning Command workflow node does return a status of 0 if the command completes and a status of -1 if the command does not complete. This status however only confirms if the Provisioning Command executed, and does not actually represent the status of the Provisioning event.
RSA recommends that you always use an Unconditional transition from the Provisioning Command node and then check the status of the provisioning explicitly yourself in the workflow.
You can check the actual return codes from the provisioning event by checking the status of the following workflow variables. Note that these variables are set for each Provisioning Command node and must be checked immediately after the provisioning has completed. If you have multiple Provisioning Commands the values of these variables will be overwritten by the next Provisioning Command node.
acm.provisioningCommandStatusCode acm.provisioningCommandStatusMessage
The acm.provisioningCommandStatusCode typically contains the value of 0 for success or -1 for failure.
The acm.provisoningCommandStatusMessage contains a text value that gives additional information on the success or failure. The value returned will depend on the type of provisioning. For example the Message for success is typically "Success".
- In order to set these variable the Provisioning Command must have the Wait for Result setting enabled. Select the Provisioning Command node and then enable the checkbox for Wait for result.
- In order to access these internal RSA workflow variables you need to assign them to variables using a SQL select node.
- Create a SQL Select node.
- Select the QUERY section.
- Enter the following SQL query to set the job level variables that will return the code and status message into variables of your choice such as errorcode and errormsg.
SELECT ${jobUserData_acm.provisioningCommandStatusCode} AS errorcode,
${jobUserData_acm.provisioningCommandStatusMessage} AS errormsg
FROM DUAL
- Create a Decision node to process the results from the SQL Select node. Under the Condition section check the WorkFlow variables checkbox and then select the result or message you wish to compare. The basic decision node might just parse the provisioningStatusCode result. For more comprehensive error handling you would want to include logic that examines the provisioningCommandStatusMessage as well.
- RSA Identity Governance & Lifecycle 6.9.1 P25
- RSA Identity Governance & Lifecycle 7.0.0 please upgrade to 7.0.2
- RSA Identity Governance & Lifecycle 7.0.1 P05 or later
- RSA Identity Governance & Lifecycle 7.0.2 P01 or later
- RSA Identity Governance & Lifecycle 7.1.0
Related Articles
Artifacts to gather in RSA Identity Governance & Lifecycle 3.96KNumber of Views How to Update the Root (Server) and Client Certificates in RSA Identity Governance & Lifecycle 2.34KNumber of Views How to Replace the Web Server Certificate for the RSA Identity Governance & Lifecycle Web Console 3.33KNumber of Views Workflows stuck in AFX fulfillment and/or Provisioning nodes in RSA Identity Governance & Lifecycle 550Number of Views Change requests get randomly cancelled and add unrelated activities or continue to provision in RSA Identity Governance & … 580Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device How to implement SAML SSO Authentication with Microsoft Azure Active Directory and RSA Identity Governance & Lifecycle How to download full kits, service packs, and patches from RSA Link for RSA Identity Governance & Lifecycle Authentication Manager Security Console and Operations Console Inaccessible After Certificate Update RSA announces the availability of the RSA SecurID Hardware Appliance 350 based on the Dell PowerEdge R640 Server