Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Help with vCAC extensibility and vCO

$
0
0

I'm trying to create a vcac/vco tandem workflow to change the name of the machine during initial build.

 

To do so, I've set the wfstubbuildingmachine to run after a user submits a request. I have it tied into a vCO workflow called "Generate server name." The workflow is pretty simple. It consists of the following:

 

in: vcacvVM(vcac:entity)

out: serverName (string)

 

The code is:

 

var domainName (this is just a custom property I created in the blueprint) = vcacVM.getProperty("Custom.Domain");

 

System.debug("Found domain: " + domainName);

serverName = domainName;

 

When this runs the out put is "Found domain: null". I have tried multiple variations of the "getProperty" (i.e. .get,, .getProperties) and nothing works. Any ideas?


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>