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

Does anyone know if these two Items work in VCO?

$
0
0

Grabbed this from another post.   Added some logging as a test....but no tasks are returned.

 

var hosts = VcPlugin.allSdkConnections;

//var allClusters = VcPlugin.getAllClusterComputeResources();

System.log(hosts[0]);

var tm = hosts[0].taskManager;

System.log(tm);

var allTasks = tm.recentTask;

System.log(allTasks);

 

Tried this one as well:

 

var hosts = VcPlugin.vimHosts;

var tm = hosts[0].taskManager;

tasks = tm.recentTask;

System.log(tasks.length);

for (var i in tasks) {

   System.log(tasks[i].info.name);

}

 

 

Add to boot tried the

getAllTasks method from the VcPlugin and VcSdkconnection.

 

 

Got nothing returned.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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