Hello,
ho is i possible to get the form fields (generated Task Forms) as a JSON from Camunda?
Here is a sample User Task:
I see only one way to retrieve the rendered form.
But that doesn’t help me, because I need the structure to process it myself.
How it is possible?
I search for aa result like this:
{"camunda:formField": [
{
"id": "input1",
"label": "My Input1",
"type": "string",
"defaultValue": "test default value",
},
{
"id": "isimportant",
"label": "Is it important?",
"type": "boolean",
"defaultValue": "true"
}
]}
With /task/ID/rendered-form i only get HTML
With /task/ID/form-variables i only get the variables but not the form fields.