Default in workflow and subworkflow

Is there any specification for which default will be used if there are defaults for both a workflow and subworkflow?

Thanks!

1 Like

The default from the outer Workflow will be used.

The default at the outer layer (either WorkflowStep or the inputs at the Workflow level) will be the input provided to the Process (CommandLineTool, ExpressionTool, or sub-Workflow) of a WorkflowStep. This value is indistinguishable from any other value and thus the default will be ignored.

Does that make sense?

3 Likes