<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Hector,<br>
<br>
There are at least two options:<br>
<br>
1) Use "Iterate over array" actor, which you can put your
sub-workflow into the actor to process each element in the array.
The output of this actor is still an array.<br>
<br>
2) Use "Array To Sequence" actor to transform your array to a
sequence of tokens before being processed.<br>
<br>
I made a demo workflow at
<a class="moz-txt-link-freetext" href="https://code.kepler-project.org/code/kepler/trunk/workflows/iterateOverArray/IterateOverArray.xml">https://code.kepler-project.org/code/kepler/trunk/workflows/iterateOverArray/IterateOverArray.xml</a>,
which use the above both actors. Please have a look.<br>
<br>
<pre class="moz-signature" cols="72">Best wishes
Sincerely yours
Jianwu Wang
<a class="moz-txt-link-abbreviated" href="mailto:jianwu@sdsc.edu">jianwu@sdsc.edu</a>
<a class="moz-txt-link-freetext" href="http://users.sdsc.edu/~jianwu/">http://users.sdsc.edu/~jianwu/</a>
Assistant Project Scientist
Scientific Workflow Automation Technologies (SWAT) Laboratory
San Diego Supercomputer Center
University of California, San Diego
San Diego, CA, U.S.A. </pre>
<br>
On 5/10/2011 6:41 AM, Héctor Fernández wrote:
<blockquote
cite="mid:BANLkTi=Wfsnir1o3p_Nzj-YE9RVf_Zx6mw@mail.gmail.com"
type="cite">Hello,<br>
<br>
I'm executing a simple workflow where i have to iterate over an
array of strings. When i run that workflow i get the next error in
my SimpleDisplay: <br>
<br>
<b>Cannot identify the type instance of the result!</b><br>
<br>
I tried to use WSWithComplexTypes but i got the same error. I
don't know what is happening, I consider it's a common example.<br>
<br>
Could anyone help me ?<br>
<br>
Thanks in advance.<br>
<br>
Best,<br>
Hector<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
</body>
</html>