steps.XX.outputs.parameters.YY is invalid when XX is expanded #3182
Labels
area/looping
`withParams`, `withItems`, and `withSequence`
area/templating
Templating with `{{...}}`
type/feature
Feature request
What happened:
A user tried to do something like this:
We currently allow the referencing of
{{steps.one.outputs.parameters.aaa}}
. However, when that step is expanded with items, then{{steps.one.outputs.parameters.aaa}}
is ambiguous and does not represent a single value.The above workflow fails with error:
withParam value could not be parsed as a JSON list: {{steps.one.outputs.parameters.aaa}}
We should do one of two things:
{{steps.one.outputs.parameters.aaa}}
reference a virtual json list of the all items of the referenced variable.The text was updated successfully, but these errors were encountered: