-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
7.10.0-alpha4
-
None
-
None
Hi,
I have an elements.json file defined like this:
{
"name": "Rest GET",
"id": "jpl.cws.task.RestGetTask",
"appliesTo": [
"bpmn:ServiceTask"
],
"properties": [
{
"label": "Implementation Type",
"type": "Hidden",
"value": "jpl.cws.task.RestGetTask",
"editable": false,
"binding":
},
{
"label": "Url",
"type": "String",
"binding":
,
"constraints":
},
{
"label": "Keytab Username",
"type": "String",
"binding": {
"type": "camunda:field",
"name": "keytabUsername",
"expression": true
}
},
...
The field keytabLocation can remain empty and generates a BPMN model tag like this:
<camunda:field name="keytabUsername" />
...
Then when I try to load the BPMN in Camunda I get this error:
ERROR: Failed to deploy process definition XML (rest_test2.bpmn) and/or notify workers. (Message = 'ENGINE-09005 Could not parse BPMN process. Errors: * One of the following is mandatory on a field declaration: one of attributes stringValue|expression or one of child elements string|expression | rest_test2.bpmn | line 12 | column 135')
It won't let me load the model because this field is empty. This seems like a bug to me since the elements.json just specifies a field and doesn't allow it to be empty.
Please look into this.
Thank you!