fantonangeli opened a new issue, #3316:
URL: https://github.com/apache/incubator-kie-tools/issues/3316
In `sonataflow-deployment-webapp` and the other SonataFlow apps, using the
json schema below, we saw that, despite the default value and the field value,
the custom `boolField` is sent to the WF endpoint only if the user modify the
input:
```
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "service_input",
"required": ["boolField"],
"type": "object",
"properties": {
"boolField": {
"type": "boolean",
"default": false
}
}
```
if the user modify `boolField` the form send:
```
{"workflowdata":{"boolField":true}}
```
if the user leaves the default value without touching the form, the WF
endpoint receives this data:
```
{"workflowdata":{}}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]