There is a utility script called executeworkflow.sh or executeworkflow.bat that allows a workflow to be executed outside of the Taverna workbench.
The minimum requirement is to provide the name, or URL, to the workflow scufl document. The default behaviour is to save the workflow results into a directory with the same name of the workflow appended with _output. Within this directory is store the progress report of the workflow, and additional directories that contain the actual results. These directories are named after the workflow output names. Be aware that existing results are automatically overwritten if they exist.
Supplying inputs and modifying the default behaviour can be achieved with the following options.
| -help displays this list of options. |
| -input <name> <filename> load the named input from a file or URL. |
| -inputdoc <filename> loads inputs from an XML document. |
| -outputdoc <filename> saves the outputs to a new XML document. |
| -output <directory> save outputs as files in directory. |
| -report <filename> save the progress report to an XML document. |
If outputs are stored as a single XML document, these results can be viewed using the dataviewer utility. This is used using the dataviewer script that can be found in the same location as executeworkflow.
Example 1.1. Executeworkflow examples
executeworkflow myworkflow.xml
executeworkflow http://somewhere.org/myworkflow.xml
executeworkflow -input myinput myinput.txt myworkflow.xml
executeworkflow -input myinput http://somewhere.org/myinput.txt myworkflow.xml
executeworkflow -inputdoc inputs.xml myworkflow.xml
executeworkflow -output result_run1 myworkflow.xml