cancel
Showing results for 
Search instead for 
Did you mean: 

boundary signal evend doesn't fire execution listener

p4w3l
Champ in-the-making
Champ in-the-making
having a process with boundary signal event with execution listener

the event is happening - I can see coming variablen in the process that can only come from another process - this makes me very happy.

Unfortunately the execution listener definied inside signal event is not fored. See below all definitions:


<signal id="startCatchVacation" name="startCatchVacation"></signal>

    <boundaryEvent id="boundarysignal1" name="Signal" attachedToRef="usertask1" cancelActivity="false">
      <extensionElements>
        <activiti:executionListener class="package1.VacationConfirmedExecutionListener"></activiti:executionListener>
      </extensionElements>
      <signalEventDefinition signalRef="vacationRequestConfirmed"></signalEventDefinition>
    </boundaryEvent>




public class VacationConfirmedExecutionListener implements ExecutionListener {
   
   private Log log = LogFactory.getLog( getClass() );
   @PersistenceContext(unitName="default")
   private EntityManager em;

  public void notify( DelegateExecution execution ) throws Exception {
     log.debug( execution );
  }
}


Help!
1 REPLY 1

rallen1
Confirmed Champ
Confirmed Champ
Hello,

I do not think it is implemented yet. A request for it has been created in JIRA (https://activiti.atlassian.net/browse/ACT-4018).

You can usually get around using boundary events by doing some other combination of intermediate catch events.

Hope that helps.