Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 249166

Re: Workflows intermittent failure

$
0
0

OK, got it. I should have thought of deleted vApps.

Yes it is possible to reload the objects in the vCO scripting. Please try the following:

var orgVdcs = org.getVdcs();
var allvAppNames = new Array();// For each datacenter, get all vApps withinfor each (vdc in orgVdcs){
    vdc.updateInternalState();
    var allvApps = vdc.getVApps();    for each (vApp in allvApps){        allvAppNames.push(vApp.name);    }}

 

updateInternalState is causing the reload. you should not get null vApps anymore.

 

Christophe.


Viewing all articles
Browse latest Browse all 249166

Trending Articles



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