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

Re: Trouble Copying File from VCO to Guest while using Attribute that is an Array

$
0
0

Hi,

 

It's certainly possible The problem is that your list of VMs contains 6 elements, but other parameters like username, password, path, etc. are arrays containing a single element.

 

So there are two cases:

 

1) You want every iteration to call the copy workflow for each of the VMs, and you want to pass specific username, password, etc. for this particular VM. In this case, username, password, and other parameters should be arrays (as in your case) but these arrays must have the same number of elements as the array with VMs. So the first iteration will execute the copy workflow using the elements at index 0 from each list, the second iteration will use elements at index 1, etc.

 

2) You want every iteration to call the copy workflow for each of the VMs, but other parameters like username, password and path will be always the same for all VMs. In this case, these other parameters must not be arrays but singular elements; eg instead of type Array/string you should use just string.

 

Hopefully the above makes sense


Viewing all articles
Browse latest Browse all 219257

Trending Articles