As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<element name="executionListener"> <annotation> <documentation> Extension element for any activities and sequenceflow, used to execute custom Java logic or an expression upon the occurrence of a certain event. </documentation>
Execution listeners allow you to execute external Java code or evaluate an expression when certain events occur during process execution. The events that can be captured are:Start and ending of a process instance.Taking a transition.Start and ending of an activity.Start and ending of a gateway.Start and ending of intermediate events.Ending an start event or starting an end event.
<br><userTask id="secondTask" ><br> <extensionElements><br> <activiti:executionListener expression="${myPojo.myMethod(execution.event)}" event="end" /><br> </extensionElements><br> </userTask><br>