There is no explicit guarantee that this makes the execution go according to iteration order - but in effect if you can ensure this if you cancel out any pipelining.
You have two options: a) Route the parameter through an Echo List local worker. This will consume the whole list, and then return it to your service, which would then do iteration in order (given that you keep Parallel Jobs at 1) b) Wrap the service in a nested workflow with matching input and output ports. To force iteration to happen inside the nested workflow, increase the depth of the workflow input port(s) to iterate, e.g. set depth 1, making the nested workflow consume the whole list in one go. Verify that the List Handling on the service within the nested workflow is correct. Note that if you leave some iterations on the "outside", you should also check the List Handling of the nested workflow. Note that both of these cases prevents any iterations to start before the complete list(s) have been received. For option 2, no outputs will be received in the master workflow before the full iterations within inner workflow has finished. See http://dev.mygrid.org.uk/wiki/display/taverna/List+handling for more details on List handling. On 26 December 2013 23:14, Datta, Kaushik (IS) <[email protected]> wrote: > Hi everyone, > > I am currently using Taverna Workbench 2.4.0. In one of my workflows, I am > passing the output from a beanshell service to either a nested workflow > service or a tool service. This output is in the form of a depth-1 list. I > want the service that accepts the list to execute the list sequentially, in > order. So, I have set the parallelism of the accepting service to 1, and > most of the time, the list executes in order. However, the list > occassionally executes out-of-order. When this happens, some of the earlier > list elements show a "waiting for data" message while later list elements > execute. > > My question is, how can I guarantee that the accepting service processes the > incoming list in order? I'm sure that I can come up with a complex hack to > solve this problem, but a simple solution would be greatly appreciated! > > Thanks to all for your time. > > -kaushik > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > taverna-users mailing list > [email protected] > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/about/contact-us/ > -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718 ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
