Example_of_explicit_loopingstart00The start of the loop2011-11-15 10:35:30.225 GMT-32011-11-15 10:35:35.32 GMTend00142011-11-15 10:35:21.552 GMTThe end value for the loop creation2011-11-15 10:35:18.208 GMTstep00The step used in the loop creation2011-11-15 10:35:04.296 GMT32011-11-15 10:35:08.617 GMTmessagesfor_loop_triggeringstep0end0start0trigger_list11net.sf.taverna.t2.activitiesbeanshell-activity1.3net.sf.taverna.t2.activities.beanshell.BeanshellActivitystart0text/plainjava.lang.Stringtrueend0text/plainjava.lang.Stringtruestep0text/plainjava.lang.Stringtruetrigger_list11workflownet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invokeloop_contentsloop_iterator0message00The loop contents is called for each value passed in the trigger list.2011-11-15 10:45:05.336 GMTnet.sf.taverna.t2.activitiesdataflow-activity1.3net.sf.taverna.t2.activities.dataflow.DataflowActivitynet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invokefor_loop_triggeringstepfor_loop_triggeringendfor_loop_triggeringstartloop_contentsloop_iteratormessagesAlan R Williams2011-11-15 10:42:28.22 GMT113219c5-82ef-4ad7-8878-b692cac31d212011-11-15 10:40:29.243 GMTd5ef72d2-feae-4bbb-bc53-65707623fdf22011-11-15 10:45:09.454 GMTExample of explicit looping2011-11-15 10:43:18.536 GMTThis workflow demonstrates how a nested workflow can be called an explicit number of times.
Note that the loop iterator does not need to be used in the logic of the loop contents. It can
be used as a sentinel (see the conditional workflow)2011-11-15 10:44:15.256 GMTLoop_contentsloop_iterator00messageConcatenate_two_stringsstring10string20output00net.sf.taverna.t2.activitieslocalworker-activity1.3net.sf.taverna.t2.activities.localworker.LocalworkerActivitystring10'text/plain'java.lang.Stringtruestring20'text/plain'java.lang.Stringtrueoutput0'text/plain'0workfloworg.embl.ebi.escience.scuflworkers.java.StringConcatnet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invokestring1_valuevalue00net.sf.taverna.t2.activitiesstringconstant-activity1.3net.sf.taverna.t2.activities.stringconstant.StringConstantActivityHello from number net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize1net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry1.0100050000net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeConcatenate_two_stringsstring1Concatenate_two_stringsstring2message6912c79d-ed04-4894-bba1-f5e50dac9fb12011-11-15 10:27:50.537 GMTAlan R Williams2011-11-15 10:29:14.617 GMTThis workflow is called when the sentinel receives a value2011-11-15 10:30:09.179 GMT2ca6bdd0-d435-44e9-b2d1-cafeec6f036c2011-11-15 10:28:48.294 GMT258faf53-ab95-4cde-8e58-50589de6b7412011-11-15 10:37:19.713 GMT658cacc7-e3b6-4a8e-9395-235b74ea2b472011-11-15 10:40:10.418 GMTcf382f91-209e-4817-ba1a-cc6e545cb3922011-11-15 10:30:13.687 GMTLoop contents2011-11-15 10:29:26.50 GMT