Details
-
New Feature
-
Status: To Do
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
It is not currently possible to run a workflow with optional input ports. Wil Koetsier asks for this feature on taverna-users on 2010-05-18.
If a workflow input port is not filled in, a RuntimeException is inserted instead. However, this is currently difficult to deal with inside a workflow, as you would just end up with error documents. (T2-1239 would allow you to specify replacement values for such errors, though)
An alternative could be to always use the Example Value annotations instead of the error document, if such an example annotation exists. Alternatively there can be a new annotation called 'Default value'. (Note that Example Value can only provide a single value, not a list)