VMware Cloud Community
Treyvon
Contributor
Contributor

Are you able to pass any Property Variable from a Server deployed in vRA to a vRO workflow?

Hi guys, I'm new to working with vRA/vRO and I was curious on if I could pass any of the properties from a server that's been deployed on vRA into a vRO workflow. Currently I'm trying to pass the variable for which environment the server is placed in and here's an example of what I believe would work.

Either this code

keyValuePairs.put(“environment”, payload.machine.envChannel);	

Or this

keyValuePairs.put("environment", payload.machine.properties.get("envChannel"));

envChannel is the property that it's placed under in vRA for the server properties, and I was wondering if what I have would work. Sorry I'm new to this but any help would be appreciated!

0 Kudos
0 Replies