cancel
Showing results for 
Search instead for 
Did you mean: 

User Task TaskListener not working

sudarshan
Champ in-the-making
Champ in-the-making
Hi

Have written a java code (below) to just sysout on console.. But nothing is getting printed when task gets created..

UserTaskA is mapped to UserTaskCreateEvent  class under Task Listener section.


Code:
public class UserTaskCreateEvent implements TaskListener {
public void notify(DelegateTask task) {
      System.out.println("==============================");
}

Request assistance
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
What does your BPMN xml look like? Are you using the "event=create" attribute?