You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: roadmap/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ _Status description:_
35
35
| ✔️| Apply fixes to auth spec schema [workflow schema](https://github.com/serverlessworkflow/specification/tree/main/schema)|
36
36
| ✔️| Update the `dataInputSchema` top-level property by supporting the assignment of a JSON schema object [workflow schema](https://github.com/serverlessworkflow/specification/tree/main/specification.md#workflow-definition-structure)|
37
37
| ✔️| Add the new `WORKFLOW` reserved keyword to workflow expressions |
38
+
| ✔️| Update `ForEach` state iteration parameter example. This parameter is an expression variable, not a JSON property |
Copy file name to clipboardExpand all lines: specification.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2884,7 +2884,7 @@ Note that `transition` and `end` properties are mutually exclusive, meaning that
2884
2884
"functionRef": {
2885
2885
"refName": "provisionOrderFunction",
2886
2886
"arguments": {
2887
-
"order": "${ .singleorder }"
2887
+
"order": "${ $singleorder }"
2888
2888
}
2889
2889
}
2890
2890
}
@@ -2905,7 +2905,7 @@ actions:
2905
2905
- functionRef:
2906
2906
refName: provisionOrderFunction
2907
2907
arguments:
2908
-
order: "${ .singleorder }"
2908
+
order: "${ $singleorder }"
2909
2909
```
2910
2910
2911
2911
</td>
@@ -2938,6 +2938,7 @@ of each iteration should be added to. If this array does not exist, it should be
2938
2938
2939
2939
The `iterationParam` property defines the name of the iteration parameter passed to each iteration of the ForEach state.
2940
2940
It should contain the unique element of the `inputCollection` array and made available to actions of the ForEach state.
2941
+
`iterationParam`can be accessed as an expression variable. [In JQ, expression variables are prefixed by $](https://stedolan.github.io/jq/manual/#Variable/SymbolicBindingOperator:...as$identifier|...).
2941
2942
If `iterationParam` is not explicitly defined, runtimes should create one and populate it with the value of the unique
2942
2943
iteration parameter for each iteration of the ForEach state.
2943
2944
@@ -3004,8 +3005,8 @@ and our workflow is defined as:
0 commit comments