You add a custom property to query a database when you want to retrieve values from that database to populate the custom property on the request form. The database custom property uses a vRealize Orchestrator action to run the query and retrieve the values.
The action is supported for the following databases:
- Microsoft SQL Server
- MySQL
- Oracle
- PostgreSQL
Limitations
All retrieved values are converted to strings.
Prerequisites
Verify that the vRealize Orchestrator SQL Plug-In is installed and configured to connect to the target database.
Custom Property Configuration Values
You use these options to create the custom property. For the general steps, see Create a vRealize Orchestrator Action Custom Property Definition.
Option | Value |
---|---|
Name | You can use any string. |
Data type | String |
Display as | Dropdown |
Values | External |
Action folder | com.vmware.vra.sql |
Script action | executeSQLSelectOnDatabase This script action is an example script. You can create specific actions for your environment. |
Input parameters |
|
Blueprint Configuration
To add the custom property to the blueprint Properties tab, see Add a Custom Property or Property Group as a Blueprint Machine Property.