Skip to content

Commit 716514e

Browse files
authored
Merge pull request #560 from serverlessworkflow/change-data-from-string-to-object
Update produceevent.json
2 parents 7902233 + 3a6818a commit 716514e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

api/src/main/resources/schema/events/eventref.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"description": "Maximum amount of time (ISO 8601 format) to wait for the result event. If not defined it should default to the actionExecutionTimeout"
1717
},
1818
"data": {
19-
"type": "string",
19+
"type": "object",
20+
"existingJavaType": "com.fasterxml.jackson.databind.JsonNode",
2021
"description": "Expression which selects parts of the states data output to become the data of the produced event."
2122
},
2223
"contextAttributes": {

api/src/main/resources/schema/produce/produceevent.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"minLength": 1
99
},
1010
"data": {
11-
"type": "string",
11+
"type": "object",
12+
"existingJavaType": "com.fasterxml.jackson.databind.JsonNode",
1213
"description": "Workflow expression which selects parts of the states data output to become the data of the produced event"
1314
},
1415
"contextAttributes": {
@@ -20,4 +21,4 @@
2021
"required": [
2122
"eventRef"
2223
]
23-
}
24+
}

0 commit comments

Comments
 (0)