i run a workflow to retrieve a VMFolder resource to place new vm. I used code from this post : to put together a script that takes path string attribute to then traverse all of the VMFolders in order to get the last element in the path attribute (VMFolder). The code works well in 3 of my 4 environments. In this non-working env the sdkConnection.getAllVmFolders() command is suppose to create array of type VCFolder. However, for some reason the array does not contain the one key folder where the matching is to take place. Is there a permission setting on a Folder that would prevent the getAllVmFolders from being able to get all of the child folders?
↧