Hi,
I am trying to send mail on every user task creation so for that I using process Application event Listener and I have written code for that below
@ProcessApplication
public class CamundaworkflowApplication extends ServletProcessApplication {
public TaskListener geTaskListener() {
return new TaskListener() {
@Override
public void notify(
DelegateTask delegateTask
)
{
// TODO Auto-generated method stub
System.out.println("testing.... email 1");
String l_assignee = delegateTask.getAssignee();
String l_taskId = delegateTask.getId();
}
};
but this method geTaskListener() it self is not getting called
please give me any solution.