-
Bug
-
Resolution: Done
-
Major
-
6.x.x
-
BPM Suite 6.4.2 - Form Modeler (SubForms)
Kie Server Rest API
Kie Server Rest API doesn't bring all subforms data properly, it only returns subforms names and some basic configuration as follows:
{"form": { "dataHolder": [ { "id": "issueList", "inputId": "", "name": "#E9E371", "outId": "issueLIst", "type": "dataModelerEntry", "value": "org.acme.ticket_support.IssueList" }, { "id": "ticket", "inputId": "", "name": "#E9E371", "outId": "ticket", "type": "dataModelerEntry", "value": "org.acme.ticket_support.Ticket" } ], "displayMode": "default", "field": { "defaultSubform": "component-ticket.form", "errorMessage": "quot;caquot;,quot;quot;quot;dequot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;quot;frquot;,quot;quot;quot;jaquot;,quot;quot;quot;ptquot;,quot;quot;quot;zhquot;,quot;quot;", "fieldClass": "java.lang.Object", "fieldRequired": false, "groupWithPrevious": false, "id": 666944388, "label": "quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;caquot;,quot;quot;quot;dequot;,quot;quot;quot;enquot;,quot;helloquot;quot;esquot;,quot;quot;quot;frquot;,quot;quot;quot;jaquot;,quot;quot;quot;ptquot;,quot;quot;quot;zhquot;,quot;quot;", "name": 666944388, "position": 0, "readonly": false, "title": "quot;caquot;,quot;quot;quot;dequot;,quot;quot;quot;enquot;,quot;quot;quot;esquot;,quot;quot;quot;frquot;,quot;quot;quot;jaquot;,quot;quot;quot;ptquot;,quot;quot;quot;zhquot;,quot;quot;", "type": "Subform" }, "id": 1417469681, "name": "ticket-support.support-taskform.form", "status": 0 }}
The endpoint used is http://server/kie-server/services/rest/server/containers/container/forms/processes/pId?filter=true.
The process definition form is "ticket-support.support-taskform.form", it makes use of a Single Subform ("component-ticket.form") and a Multiple Subform ("issue-subform.form")... the rest call does not return subforms details when trying to retrieve it for processes... it works for task forms if using "filter=true". Also there are a lot of "quots" for some attributes such as errorMessage, label etc.
- is cloned by
-
RHBPMS-4677 [GSS](6.4.z) Retrieving Form Data with Kie Server Rest API does not show subforms data in BPM Suite 6.4.x
- Verified