Concatenate_files___echo_results_and_multiple_filescontent_of_outputfile 'text/plain' 2010-10-27 14:19:25.572 BST text/plain 2010-10-27 14:19:25.572 BST echoed_concatenation_results text/plain 2010-10-27 14:19:25.572 BST 'text/plain' 2010-10-27 14:19:25.572 BST Create_temporary_filefilepath00net.sf.taverna.t2.activitiesbeanshell-activity1.2net.sf.taverna.t2.activities.beanshell.BeanshellActivity workflow 0 filepath 0 'text/plain' net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 0 0 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeCreate_and_populate_temporary_filecontent0filepath00net.sf.taverna.t2.activitiesbeanshell-activity1.2net.sf.taverna.t2.activities.beanshell.BeanshellActivity workflow java.lang.String true content 0 'text/plain' 0 filepath 0 'text/plain' net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 0 0 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invokestring_listvalue00net.sf.taverna.t2.activitiesstringconstant-activity1.2net.sf.taverna.t2.activities.stringconstant.StringConstantActivity a,b,c,d,e net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 0 0 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invoketruevalue00net.sf.taverna.t2.activitiesstringconstant-activity1.2net.sf.taverna.t2.activities.stringconstant.StringConstantActivity true net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 0 0 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeSplit_string_into_string_list_by_regular_expressionstring0split11net.sf.taverna.t2.activitieslocalworker-activity1.2net.sf.taverna.t2.activities.localworker.LocalworkerActivity org.embl.ebi.escience.scuflworkers.java.SplitByRegex workflow java.lang.String true string 0 'text/plain' java.lang.String true regex 0 'text/plain' 1 split 1 l('text/plain') net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeConcatenate_Filesdisplayresults0filelist1outputfile0results00net.sf.taverna.t2.activitieslocalworker-activity1.2net.sf.taverna.t2.activities.localworker.LocalworkerActivity net.sourceforge.taverna.scuflworkers.io.ConcatenateFileListWorker workflow java.lang.String true filelist 1 l('text/plain') java.lang.String true outputfile 0 'text/plain' java.lang.String true displayresults 0 'text/plain' 0 results 0 'text/plain' net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeRead_Text_Filefileurl0filecontents00net.sf.taverna.t2.activitieslocalworker-activity1.2net.sf.taverna.t2.activities.localworker.LocalworkerActivity net.sourceforge.taverna.scuflworkers.io.TextFileReader workflow java.lang.String true fileurl 0 'text/plain' 0 filecontents 0 'text/plain' net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeCreate_and_populate_temporary_filecontentSplit_string_into_string_list_by_regular_expressionsplitSplit_string_into_string_list_by_regular_expressionstringstring_listvalueConcatenate_FilesdisplayresultstruevalueConcatenate_FilesfilelistCreate_and_populate_temporary_filefilepathConcatenate_FilesoutputfileCreate_temporary_filefilepathRead_Text_FilefileurlCreate_temporary_filefilepathcontent_of_outputfileRead_Text_Filefilecontentsechoed_concatenation_resultsConcatenate_Filesresults The workflow splits the string 'a,b,c,d,e' into its five elements and saves the individual strings to five temporary files. The file paths to those files are then output by the create_and_populate_temporary_file beanshell. The create_temporary_file beanshell creates a file to which the concatentation can be written. The concatenate_files service concatenates the five files and writes the result to the temporary output file. Because the displayresults port has been given a default value of 'true', the results are also copied to the results port of concatenate_files. The temporary file to which the results were written is read by the read_text_file service and its contents output. Both of the workflow outputs contain 'a b c d e' i.e. the contents of the concatenated files separated by a newline. 2010-10-27 14:19:25.604 BST 590f1b2e-8364-4a90-8e11-827fdc90bfe2 2010-10-28 14:40:09.790 BST Concatenate files - echo results and multiple files 2010-10-28 14:40:04.862 BST Concatenate files - echo results and multiple files 2010-10-28 14:40:01.933 BST Concatenate files - echo results and multiple files 2010-10-27 14:19:25.604 BST Alan R Williams 2010-10-27 14:19:25.604 BST d6597f00-ad66-4e1b-91a7-07f877e2a5f5 2010-10-27 14:22:33.463 BST