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: api/src/main/resources/schema/states/foreachstate.json
+11-2
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@
21
21
"type": "string",
22
22
"description": "Name of the iteration parameter that can be referenced in actions/workflow. For each parallel iteration, this param should contain an unique element of the inputCollection array"
23
23
},
24
-
"max": {
24
+
"batchSize": {
25
25
"type": "integer",
26
26
"default": "0",
27
27
"minimum": 0,
28
-
"description": "Specifies how upper bound on how many iterations may run in parallel"
28
+
"description": "Specifies how many iterations may run in parallel at the same time. Used if 'mode' property is set to 'parallel' (default)"
29
29
},
30
30
"actions": {
31
31
"type": "array",
@@ -39,6 +39,15 @@
39
39
"type": "boolean",
40
40
"default": false,
41
41
"description": "If true, this state is used to compensate another state. Default is false"
42
+
},
43
+
"mode": {
44
+
"type": "string",
45
+
"enum": [
46
+
"sequential",
47
+
"parallel"
48
+
],
49
+
"description": "Specifies how iterations are to be performed (sequentially or in parallel)",
0 commit comments