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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 3 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy