cancel
Showing results for 
Search instead for 
Did you mean: 

Task life cycle

mostafaahmed
Champ in-the-making
Champ in-the-making
Dears,

I'm trying to implement a event listener to listen to all the states in task life cycle, so my first question what is the Task life cycle, for example in JBPM there is a task life cycle (http://docs.jboss.org/jbpm/v5.3/userguide/ch.human-tasks.html#d0e5129), and my second question what are the events  which I should listen for them ?

Thank you. 

1 REPLY 1

pmsevestre
Champ in-the-making
Champ in-the-making
I think the best way to understand the way user tasks behave in Activiti is to create a simple process (eg one with a single human task) and attach a listener to every available event ( see: http://activiti.org/userguide/#taskListeners).

A simple class that just prints some information will help you understand what action triggers which event.