Skip to content

Commit

Permalink
Update serverlessworkflow/modules/ROOT/pages/core/understanding-jq-ex…
Browse files Browse the repository at this point in the history
…pressions.adoc

Co-authored-by: Gonzalo Muñoz <[email protected]>
  • Loading branch information
fjtirado and gmunozfe authored Oct 9, 2024
1 parent 20ff7b2 commit fd0c267
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ data={"gitRepo":"ssh://bitbucket.org/m2k-test","branch":"aaaaaaasssss","token":n

== ForEach state

ForEach `iteratiomParam` should be accessed as a variable, not as a JSON property, since the loop variable is not part of the workflow model the expression is evaluated against. This means that rather than prefixing the variable name with a `.`, it should be prefixed with a `$`
ForEach `iteratiomParam` should be accessed as a variable, using a `$` prefix, not as a JSON property, since the loop variable is not part of the workflow model the expression is evaluated against. Therefore, instead of accessing it like a JSON property (with a `.` prefix), the loop variable should be referenced with a `$` prefix

For instance, this link:{spec_doc_url}#foreach-state[ForEach specification example]

Expand Down

0 comments on commit fd0c267

Please sign in to comment.