cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to add an event listener to a process definition with Activiti Designer ?

maol
Champ on-the-rise
Champ on-the-rise
I want to add an event listener to a process definition:

-> http://www.activiti.org/userguide/index.html#eventDispatcherConfigurationProcessDefinition

I cannot find how to do it with Activiti Designer.
Is it possible or do I have to add it manually in the xml ?
5 REPLIES 5

hari
Star Contributor
Star Contributor
Yes you can do it. Go to the properties of the service task and then into the listeners tab.

maol
Champ on-the-rise
Champ on-the-rise
I don't want to set listeners on each task but on the whole process definition Smiley Wink

jbarrez
Star Contributor
Star Contributor
You can set them programmatically, no need to set them in the process definition itself.

maol
Champ on-the-rise
Champ on-the-rise
What if the process designer is not supposed to be involved in the coding ?

jbarrez
Star Contributor
Star Contributor
Event listeners are something which are inherently coding … as there is no counterpart in BPMN 2.0.
So not sure wht a business person would want to add it?