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

Re: Foreach element with workflow that returns an array

$
0
0

Hi Christophe,

 

your idea ist good :-)

 

Now it runs as i need this workflow.

In short for other readers.

 

I have a WF "A" that returns Array of Strings (lets say retArray). i wrote another WF "Wrapper_A" with input parameter "inArray" and and output parameter

"outArray". This WF calls the WF "A" and has an Script element (only outArray = inArray.concat(retArray)).

 

In the workflow that shoult be iterate over the WF "Wrapper_A" i initialze a attribute "allRetArray" with empty Array.

in the foreach element i bound input parameter and output parameter of "Wrapper_A" to this attribute.

So i get the returned Arrays of all called WF iterations.

 

I hope its possible to understand my bumpy english ;-)

 

best regards,

Mike


Viewing all articles
Browse latest Browse all 232869

Trending Articles



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