File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -344,13 +344,17 @@ $graph:
344
344
345
345
The `scatter` field specifies one or more input parameters which will be
346
346
scattered. An input parameter may be listed more than once. The declared
347
- type of each input parameter is implicitly wrapped in an array for each
348
- time it appears in the `scatter` field. As a result, upstream parameters
349
- which are connected to scattered parameters may be arrays.
347
+ type of each input parameter is implicitly becomes an array of items of the
348
+ input parameter type. If a parameter is listed more than once, it becomes
349
+ a nested array. As a result, upstream parameters which are connected to
350
+ scattered parameters must be arrays.
350
351
351
352
All output parameter types are also implicitly wrapped in arrays. Each job
352
353
in the scatter results in an entry in the output array.
353
354
355
+ If any scattered parameter is empty at runtime, all outputs are set to
356
+ empty arrays and no work is done for the step.
357
+
354
358
If `scatter` declares more than one input parameter, `scatterMethod`
355
359
describes how to decompose the input into a discrete set of jobs.
356
360
You can’t perform that action at this time.
0 commit comments