Permalink
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (55 sloc) 1.14 KB
{
"name": "MailTask",
"id": "my.mail.Task",
"appliesTo": [
"bpmn:Task"
],
"properties": [
{
"label": "Recipient",
"type": "String",
"binding": {
"type": "camunda:inputParameter",
"name": "recipient"
},
"constraints": {
"notEmpty": true
}
},
{
"label": "Template",
"type": "Text",
"description": "By the way, you can use freemarker templates ${...} here",
"value": "Hello ${firstName}!",
"binding": {
"type": "camunda:inputParameter",
"name": "messageBody",
"scriptFormat": "freemarker"
},
"constraints": {
"notEmpty": true
}
},
{
"label": "Ergebnisvariable",
"type": "String",
"value": "mailResult",
"binding": {
"type": "camunda:outputParameter",
"source": "${mailResult}",
"scriptFormat": "freemarker"
},
"constraints": {
"notEmpty": true
}
},
{
"type": "Hidden",
"value": "SECRET",
"binding": {
"type": "camunda:inputParameter",
"name": "hiddenField"
}
}
]
}