Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

vRA7/vRO7 : Property Dictionary - with External Values

$
0
0

Dears i have a situation that am created a new property in the property dictionary with external value which will be driven by a custom script action from vrealize orchestrator.

 

Am using the refernce of vrealize automation 7 release note which states:

In vRealize Automation 7.0, the property definitions no longer use the attributes. You must recreate the property definition or configure the property definition to use a vRealize Orchestrator script action rather than the embedded control types or attributes.

Workaround: Migrate the control type or attributes to vRealize Automation 7.0 using a script action.

    1. In vRealize Orchestrator, create a script action that returns the property values. The action must return a simple type. For example, return strings, integers, or other supported types. The action can take the other properties on which it depends as an input parameter. For information about creating script actions, see the vRealize Orchestrator documentation.
    2. In vRealize Automation, configure the product definition.

                    a. Select Administration> Property Dictionary> Property Definitions.

                    b. Select the property definition and click Edit.

                    c. From the the Display advice drop-down menu, select Dropdown

                    d. From the Values drop-down menu, select External Values

                    e. Select the script action.

                    f. Click OK

                    g. Configure the Input Parameters that are included in the script action. To preserve the existing relationship, bind the parameter to the other property.

                    h. Click OK

After i created the action script and configure everything as stated in the above paragraph. When am trying to test it it shows loading and no values are listed for the user to choose from (Am using this in normal blueprint). but when am testing the action script with ASD it works. i don't want to use ASD . i want to use the properyt definitions with external value. Could anyone help me correct my action script to work with property definition and external value .

 

Here is my action script:

var arr = new Array();

arr.push("Windows 2008 64bit");

arr.push(Windows 2012 64bit");

return arr;

Kindly could anyone provide me a support to solve this issue with property definitions and external values with vRealize Automation 7 and vRealize Orchestrator 7 ??


Viewing all articles
Browse latest Browse all 6251

Trending Articles