I need to have multiple sets of virtual machine arrays but I am not quite certain how to define array of array of virtual machines.
At the moment I have attribute vmGroupVMs which is type of Array/Array. I have another workflow element which is contructing attiribute vms which is Array of VC:Virtual Machine.
Problem is that I do not know how to initialize vmGroupVMs[i] properly so that it could hold Array of VC:Virtual Machine. vmGroupVMs is used as output parameter for later use in my workflow.
I have following code
How I should initialize vmGroupVMs[iterator]?
Hi!
In Javascript you don't have to specify a certain type to initialize an array.
or even just the second line should be enough.
http://bytes.com/topic/javascript/answers/162679-how-define-array-array
Cheers,
Joerg
Thanks! Got it working, my problem was actually totally unrelated to my Array/Array type