cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti

riadhazzouz
Confirmed Champ
Confirmed Champ

How can I use activiti to detect events on workflows ?

4 REPLIES 4

andrakula
Champ on-the-rise
Champ on-the-rise

What do you mean with "detect events on workflows"?

started and canceled.
Thanks.

andrakula
Champ on-the-rise
Champ on-the-rise

<process id="...">
    <extensionElements>
      <activiti:executionListener event="start" expression="${yourListener.yourMethod(execution)}"/>
      <activiti:executionListener event="end" expression="${yourListener.yourMethod(execution)}"/>

...

Is there a way using activiti ?
I tried creating activiti.cfg.xml file, and some ActivitiListeners, but probably I'm still missing things.
Thanks.