AnsweredAssumed Answered

Activiti doe not trigger m event listener

Question asked by amorgos on Aug 19, 2015
Latest reply on Aug 20, 2015 by amorgos
Hello,
i'm trying to configure in the process definition a my event listener:

<blockcode>
  <process id="buildxxx" name="Buildxxx" isExecutable="true">
    <extensionElements>
      <activiti:executionListener class="com…..SendMailTaskAssign" />
    </extensionElements>
</blockcode>
……

I start the process using the res service but my class SendMailTaskAssign is not triggered:

<blockcode>
public class SendMailTaskAssign implements ActivitiEventListener{
   @Override
   public void onEvent(ActivitiEvent ae) {
      
      ActivitiEventType type = ae.getType();
      System.out.println("SendMailTaskAssign ae.getType():"+type);
   }   

}
</blockcode>

In my log i cannot see the expected system out or ant error….

Can you help me please?
Regards
Mario

Outcomes