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/eventstate.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,12 @@
14
14
"default": true,
15
15
"description": "If true consuming one of the defined events causes its associated actions to be performed. If false all of the defined events must be consumed in order for actions to be performed"
16
16
},
17
-
"eventsActions": {
17
+
"onEvents": {
18
18
"type": "array",
19
19
"description": "Define what events trigger one or more actions to be performed",
Copy file name to clipboardExpand all lines: api/src/main/resources/schema/states/foreachstate.json
+12-20Lines changed: 12 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -4,33 +4,29 @@
4
4
"javaInterfaces": [
5
5
"io.serverlessworkflow.api.interfaces.State"
6
6
],
7
-
"description": "Execute a set of defined states for each element of the data input array",
7
+
"description": "Execute a set of defined actions or workflows for each element of a data array",
8
8
"extends": {
9
9
"$ref": "defaultstate.json"
10
10
},
11
11
"properties": {
12
12
"inputCollection": {
13
13
"type": "string",
14
-
"description": "JSONPath expression selecting an JSON array element of the states data input"
14
+
"description": "JsonPath expression selecting an array element of the states data"
15
15
},
16
16
"outputCollection": {
17
17
"type": "string",
18
-
"description": "JSONPath expression specifying where in the states data output to place the final data output of each iteration of the executed states"
18
+
"description": "JsonPath expression specifying an array element of the states data to add the results of each iteration"
19
19
},
20
-
"inputParameter": {
20
+
"iterationParam": {
21
21
"type": "string",
22
-
"description": "JSONPath expression specifying an JSON object field of the states data input. For each parallel iteration, this field will get populated with a unique element of the inputCollection array"
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
24
"max": {
25
25
"type": "integer",
26
26
"default": "0",
27
27
"minimum": 0,
28
28
"description": "Specifies how upper bound on how many iterations may run in parallel"
29
29
},
30
-
"timeDelay": {
31
-
"type": "string",
32
-
"description": "Amount of time (ISO 8601 format) to wait between each iteration "
33
-
},
34
30
"actions": {
35
31
"type": "array",
36
32
"description": "Actions to be executed for each of the elements of inputCollection",
@@ -39,13 +35,9 @@
39
35
"$ref": "../actions/action.json"
40
36
}
41
37
},
42
-
"states": {
43
-
"type": "array",
44
-
"description": "States to be executed for each of the elements of inputCollection",
0 commit comments