camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.5k stars 482 forks source link

Be able to define a Java class execution listener via element templates #525

Open nikku opened 7 years ago

nikku commented 7 years ago

Right now, users can only define scripts with execution listener templates.

Expected

Example JSON

{
"name": "PUB Notifications",
"id": "com.bp3.examples.NotificationListener",
"appliesTo": [
"bpmn:UserTask"
],
"properties": [
{
"type": "Hidden",
"binding": {
"type": "camunda:executionListener",
"event": "start",
"class": "com.bp3.examples.InitNotifications"
}
}
],
"entriesVisible": {
"_all": true
}
}

See forum thread for details.

ttoenige commented 7 years ago

Hi there, are there any updates related to this issue? I am facing the same problem. Best regards, Torben

itpablo commented 6 years ago

Hi guys! This is a very helpful feature for the solution that i'm working on. Any insights about the deadline to solve this? Best regards,

Pablo

vasicvuk commented 6 years ago

Also having delegate expression and injection of fields in execution listener would be nice. +1