r3 - 04 Mar 2008 - 14:31:58 - AlanWilliamsYou are here: myGrid wiki >  Mygrid Web  > TavernaWorkbench > TavernaFaq > FaqLooping

How can I do looping in a workflow?

Taverna does not support looping in the sense that there are no cycles within a workflow graph. Taverna in its present form supports iteration over a set of independent jobs (and combinators over this iteration so allowing 'all against all' and similar strategies). Taverna's capabilities correspond to a 'for' loop with no side effects in an imperative language such as Java. It is possible to implement side effecting loops through external stores and nested workflows but this is not recommended - if you really need this then it's possible. Recursive invocation similarly can be hacked together but it's not 'clean'

Taverna 2 (under development) supports a much richer set of recursive and iterative invocation semantics, so parameter sweeps become possible (as an example).

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by myGrid wiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding myGrid wiki? Send feedback