Hi Hector,
There are at least two options:
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.
2) Use "Array To Sequence" actor to transform your array to a
sequence of tokens before being processed.
I made a demo workflow at
https://code.kepler-project.org/code/kepler/trunk/workflows/iterateOverArray/IterateOverArray.xml,
which use the above both actors. Please have a look.
Best wishes
Sincerely yours
Jianwu Wang
jia...@sdsc.edu
http://users.sdsc.edu/~jianwu/
Assistant Project Scientist
Scientific Workflow Automation Technologies (SWAT) Laboratory
San Diego Supercomputer Center
University of California, San Diego
San Diego, CA, U.S.A.
On 5/10/2011 6:41 AM, Héctor Fernández wrote:
Hello,
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:
*Cannot identify the type instance of the result!*
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.
Could anyone help me ?
Thanks in advance.
Best,
Hector
_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users