0 Replies Latest reply on Jun 22, 2019 8:14 AM by lurims

    Which is the best way when dealing with hundreds/few thousands of objects?

    lurims Enthusiast

      I have a need to search all port groups and perform some actions on the entire datacenter having a 3 digit number of clusters and 4 digit number of portgroups.  I was debating with my colleague, that instead of making a big array of objects of thousands using Server.findAllForType("VC:DistributedVirtualPortgroup") and avoid "graphical looping" that Mads Fog Albrechtslund mentioned, I mentioned it is better to run asynchronous workflows to search and do the necessary operations at Cluster level and collect all the results from individual cluster level asynchronous workflows.  As this groups has lot of experts, what is the best way to do in your opinion?