Using the example here Scattering Workflows β Common Workflow Language User Guide
If my top level workflow input is a number say
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
requirements:
ScatterFeatureRequirement: {}
inputs:
count: int
steps:
echo:
run: 1st-tool.cwl
scatter: message
in:
message: message_array
out: []
outputs: []
How can I create/generate message_array
on the fly using count
as an input to some function to create/generate the array ?
Cheers