cancel
Showing results for 
Search instead for 
Did you mean: 

Event Listener for start of a sub-process execution?

sushantmahajan
Champ in-the-making
Champ in-the-making
Hi all,

Is there an event listener in activiti which listens to the start of a sub-process only?

Something like -


   
<sub-process continue="async" g="258,1173,173,54" name="Validate" sub-process-key="Validate">
      <parameter-in subvar="instanceID" var="instanceID"/>
      <on event="start">
         <event-listener
            class="com.x.y.ExecutionStartListener" />
      </on>
      <transition to="Export"/>
   </sub-process>


did it for me in jbpm. Is there something similar in activiti?
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sushant,
you can use execution listeners : http://www.activiti.org/userguide/#executionListeners

Regards
Martin