Merge_list_of_errors_to_stringlist_with_errors text/plain 2010-10-27 14:43:01.669 BST merged_output_failsmerged_output_without_errorsSometimes_Failsin0out00net.sf.taverna.t2.activitieslocalworker-activity1.3net.sf.taverna.t2.activities.localworker.LocalworkerActivity in 0 'text/plain' java.lang.String true out 0 'text/plain' 0 workflow org.embl.ebi.escience.scuflworkers.java.TestSometimesFails net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.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.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeCreate_Lots_Of_Stringsstrings11net.sf.taverna.t2.activitieslocalworker-activity1.3net.sf.taverna.t2.activities.localworker.LocalworkerActivity strings 1 l('text/plain') 1 workflow org.embl.ebi.escience.scuflworkers.java.EmitLotsOfStrings net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.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.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeMerge_String_List_to_a_Stringstringlist1concatenated00net.sf.taverna.t2.activitieslocalworker-activity1.3net.sf.taverna.t2.activities.localworker.LocalworkerActivity stringlist 1 l('text/plain') java.lang.String true seperator 0 'text/plain' java.lang.String true concatenated 0 'text/plain' 0 workflow org.embl.ebi.escience.scuflworkers.java.StringListMerge net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.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.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeCreate_temporary_filefilepath00file00net.sf.taverna.t2.activitiesbeanshell-activity1.3net.sf.taverna.t2.activities.beanshell.BeanshellActivity filepath 0 0 file 0 0 workflow net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.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.Retry 1.0 0 0 0 net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeWrite_text_file_appendoutputFile0filecontents0net.sf.taverna.t2.activitiesbeanshell-activity1.3net.sf.taverna.t2.activities.beanshell.BeanshellActivity outputFile 0 text/plain java.lang.String true filecontents 0 text/plain java.lang.String true separator 0 text/plain java.lang.String true workflow net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.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.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeWait_for_completionfile0file00net.sf.taverna.t2.activitiesbeanshell-activity1.3net.sf.taverna.t2.activities.beanshell.BeanshellActivity file 0 text/plain java.lang.String true file 0 0 workflow net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.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.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.3net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeSometimes_FailsinCreate_Lots_Of_StringsstringsMerge_String_List_to_a_StringstringlistSometimes_FailsoutWrite_text_file_appendoutputFileCreate_temporary_filefilepathWrite_text_file_appendfilecontentsSometimes_FailsoutWait_for_completionfileCreate_temporary_filefilelist_with_errorsSometimes_Failsoutmerged_output_failsMerge_String_List_to_a_Stringconcatenatedmerged_output_without_errorsWait_for_completionfile 0d675938-9742-4755-8183-ddafed61db6a 2011-09-12 14:08:03.311 BST 39b27678-cc21-4632-a1fe-ee958268d781 2011-09-13 11:50:11.206 BST 4a5879de-0e2f-4925-87d7-693e005874e9 2011-09-13 12:24:24.707 BST 779a09da-a37c-41cf-adff-e53d12152eb5 2011-09-13 12:07:09.534 BST ded424a5-65b7-44af-97cf-744ed8df8151 2011-09-12 14:20:37.160 BST eed8ca8b-d192-4840-872e-00cac2f80455 2011-09-13 13:39:53.232 BST 0ce37d16-32e1-4521-95be-56d95f5228fc 2011-09-12 14:18:31.374 BST a1062d05-0567-420e-a760-d479fcba08fc 2010-10-27 14:43:50.993 BST 2aaa5dfa-7ba0-40e3-9be1-7a5ec734b400 2011-09-12 11:33:18.143 BST 54cf3852-8dd3-4f7e-a468-5d2d5c03878b 2011-09-13 13:36:50.535 BST d4ed14ce-6a8b-4475-83a8-169c0868c7b6 2011-09-13 13:40:04.65 BST 0285b3e5-5802-4b39-838c-635caea391e0 2011-09-13 12:19:26.344 BST 4d445fc2-34e7-446b-a369-4dc1af3512db 2011-09-09 09:43:27.269 BST Based on http://myexperiment.elda.org/workflows/27/ The beanshell scripts collectively builds a temporary file of the merged string (by default using newline as separator). As each item is appended to the file separately by Write_text_append, this means it can handle occassional errors in the list, such as in the output from Sometimes_fails. Such items are not included in the merged string. To use, *merge* with your workflow and delete "Create_Lots_if_Strings", "Sometimes_Fails" and "Merge_String_List_to_A_String". Note that Taverna can't provide promises to the order of the execution of Write_text_file_append. See http://taverna-users.markmail.org/search/?q=#query:+page:1+mid:cnfl53jbczhpf66b+state:results 2011-09-13 13:45:39.410 BST acf620ca-a11f-4786-862f-5dc1dc40c5e4 2011-09-12 10:19:29.912 BST d98ff5b9-0674-464b-b44f-81b47c4316b9 2011-09-13 12:25:58.698 BST 4789fdb8-3e4d-49c5-a7b0-4de34ad2b685 2011-09-13 13:39:17.573 BST 2b28194d-1fd0-473f-a0c2-11f701a139ca 2011-09-13 11:28:37.644 BST b5aa320b-3302-4a76-aa8d-98eaeb0e1aeb 2011-09-09 09:40:48.768 BST 8562122b-fc14-44ca-bc1e-882541af8356 2011-09-12 14:11:51.329 BST e3fb10a3-1e8f-4689-8ad8-6869e9625fb2 2011-09-12 14:13:13.522 BST ccbba872-cc93-418c-b800-b4279c5c671b 2011-09-12 14:04:56.203 BST 92d1dbf1-84f4-4623-9558-b99832973a12 2011-09-12 10:30:27.208 BST 44269c9b-2aa0-4637-88b7-35fcebfb3fe1 2011-09-13 12:22:13.459 BST c3711e03-920f-4850-9ebb-f621f4af4fd0 2010-10-27 14:46:06.824 BST Marc Pochriera Stian Soiland-Reyes 2011-09-13 13:41:26.114 BST de90642f-e4ab-404d-af20-2677ba7ba523 2011-09-12 13:59:13.61 BST ef79b3da-cd61-44d4-ab88-97c9dba652fb 2011-09-12 14:21:38.112 BST a527d1db-31c4-4724-a41e-0ec515863ff0 2011-09-09 09:42:53.743 BST Merge list of errors to string 2011-09-13 13:40:46.277 BST f72c58fc-6998-4f42-9e14-72f6cfcc59ca 2011-09-13 13:45:39.540 BST 020f8847-396e-4660-a300-a78b136e7090 2011-09-12 14:25:28.127 BST 9f7d0d3d-0cfc-448b-a211-fa683d391421 2011-09-12 14:06:49.172 BST