rstoker13
VMware Employee
VMware Employee

Sorry for the delayed response. I am currently using "System.getModule("com.vmware.library.vcac").addUpdatePropertyFromVirtualMachineEntity()" to apply the properties that my business requires in a custom vRO workflow. Perhaps this method will work in your case as well. I am using the Event Broker to call the workflow during "Machine Provisioning" with the conditions below:

Run based on conditions - All of the following

     Data > Lifecycle State > Lifecycle state name - Equals - VMPSMasterWorkflow32.Requested

     Data > Lifecycle State > State phase - Equals - EVENT

I would be happy to share my code if you think it may help.

Alternatively, there are several blog posts that may assist as well. The link below is a bit older but seems to be applying the property you seek to use. Please take a look and let me know if you are successful. Thanks and good luck!

Using custom property in vRA/vCAC deploy VM in specific datacenter using local templates -Post02 – A...

Also, be sure that the data input into the property is accurate and CASE correct. See the link below for the list of OS.

vRealize Automation Guest OS IDs (VMware.VirtualCenter.OperatingSystem) — Virtual Nebula