Hi Lahiru,

Thank you for your answer. 

By the way, how to create string array in shell script, so that I can pass it 
to ForEach component?

Thank you,
Heejoon. 

2013. 6. 5. 오후 10:44 Lahiru Gunathilake <[email protected]> 작성:

> Hi Heejoon,
> 
> We take string array as input but we invoke the script with each element of 
> the string array multiple times, in Foreach we don't pass whole string array 
> to the application script at once. So you really don't have to handle a 
> string array in your script.
> 
> Lahiru
> 
> 
> On Tue, Jun 4, 2013 at 10:06 PM, Heejoon Chae <[email protected]> wrote:
>> Hi,
>> 
>> I have quick question about Airavata For-Each component.
>> 
>> It seems that ForEach component takes String array as an input and pass them 
>> to next component one by one.
>> 
>> My question is how to create string array in shell script to pass it to 
>> ForEach component?
>> 
>> I normally generate string result like
>> 
>> echo "output=xxx"
>> 
>> at the end of script and connect it as an input of next component in 
>> Airavata workflow to pass the result and let next component know the input 
>> is arrived.
>> 
>> Thanks,
>> Heejoon.
> 
> 
> 
> -- 
> System Analyst Programmer
> PTI Lab
> Indiana University

Reply via email to