I have a simple example (attached) where the input to a workflow is an optional string. The command line tool has a default value for this input. When I use no outputs or a fixed output file name (as in #19), it works. If I modify the command line tool to now glob for $(inputs.foo) to return a file matching the name of the input string, it evaluates the input to null and fails to build the command in this instance. It should be evaluating the default input for the tool if the optional input for the workflow is not given.
When an input is an optional (e.g. it can be string or null). we set its value to NullValue.NULL (not a Java null value), but when we evaluate it, we just handle the null case
Hi,
I have a simple example (attached) where the input to a workflow is an optional string. The command line tool has a default value for this input. When I use no outputs or a fixed output file name (as in #19), it works. If I modify the command line tool to now glob for
$(inputs.foo)
to return a file matching the name of the input string, it evaluates the input tonull
and fails to build the command in this instance. It should be evaluating the default input for the tool if the optional input for the workflow is not given.EvalOptionalWorkflowInputError.tar.gz