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

Unable to retrieve VM machine properties after Machineaddorupdate orchestrator workflow

$
0
0

virtualMachineAddOrUpdateProperties = new Properties () ;

virtualMachineAddOrUpdateProperties.put( "xyz" , 123) ;

 

but when i enumerate achine properties  thru below i am not able see the custom peoperties inserted above ....any pointers appreciate ...Thanks in advance

 

 

var vRAVmProperties = machine.get("properties") ;

if (vRAVmProperties != null) {

  var log = "";

  log += "vRA VM properties :\n";

  var array = new Array();

  for each (var key in vRAVmProperties.keys) {

  array.push(key + " : " + vRAVmProperties.get(key));

  }

  array.sort();

 

  for each (var line in array) {

  log += "\t" + line + "\n";

  }

  System.log(log);

  }


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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