In https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/tests/conditionals/cond-wf-002.cwl and https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/tests/conditionals/cond-wf-002_nojs.cwl, the workflow output parameter `out1` references `step1/out1`. `step1` has a `when`, which means its outputs will be `null` when the condition is false. Thus, the workflow output parameter should be optional.