My use case is to trigger a java delegate for a service task. For usability, I need an element template
for it. Can someone point me correct way to write a template for this.
{
“name”: “Send Message”,
“id”: “org.SendMessage”,
“appliesTo”: [
“bpmn:ServiceTask”
],
“entriesVisible”: {
“_all”: true
},
“properties”: [
{
“label”: “Implementation Type”,
“type”: “String”,
“value”: “org.servicetask.MessageDelegate”,
“editable”: false,
“binding”: {
“type”: “property”,
“name”: “camunda:javaDelegate”
}
},
{
“label”: “topic”,
“type”: “String”,
“binding”: {
“type”: “camunda:inputParameter”,
“name”: “topic”
},
“constraints”: {
“notEmpty”: true
}
},
{
“label”: “message”,
“type”: “String”,
“binding”: {
“type”: “camunda:inputParameter”,
“name”: “message”
},
“constraints”: {
“notEmpty”: true
}
}
]
}
It needs to have two mandatory properties and they work fine. The java class does not get set and it fails with that error.