cancel
Showing results for 
Search instead for 
Did you mean: 

Listeners

dverdier
Champ in-the-making
Champ in-the-making

Hello my friends! 

I don't know how to implement the listeners. I don't find the interface org.activiti.engine that it is always named in the forum.

Any help it is welcome.

Cheers, 

Diego

3 REPLIES 3

paul_roth
Star Contributor
Star Contributor

Have you tried having a look at the section in the documentation called "Event Handlers" at the following URL - Activiti User Guide?  This section describes how to implement Listeners for all the different types of events provided by Activiti.

dverdier
Champ in-the-making
Champ in-the-making

Hello Paul, 

Thanks for the answer. We are using Activiti 6.0, we implemented everything in the kickstarter app. 

We dont know where to implement the java classes of the task handlers. Our solution is to do a new script task after the user task.

Thanks

hari
Star Contributor
Star Contributor

Your class must implement TaskListener interface and you must override the notify method. Your custom logic goes into the notify method. 

This class must be in the class path for it to get loaded and executed.