cancel
Showing results for 
Search instead for 
Did you mean: 

ExecutionListener in the designer for the start event ???

deepak_singhvi
Champ in-the-making
Champ in-the-making
What am i doing: Trying to set the ExecutionListener in the start event, same as we associate TaskListener for the usertask.
Problem: Not able to set the ExecutionListener in the designer for start event.

Work around is possible when i added executionlistener directly in the xml file and it worked for me.
<process id="MyInputProcess" name="MyInputProcess">
   <extensionElements>
      <activiti:executionListener class="com.test.taskListener.MyInputProcessExecutionListener" event="start" />
      <activiti:executionListener class="com.test.taskListener.MyInputProcessExecutionListener" event="end" />
   </extensionElements>
  ….
</process>

Q1. Is it going to be corrected in the next designer builds?
Q2. When the next version of designer is going to be released?


Deepak  Smiley Very Happy
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

In this XML example your didn't set it on the start event but on the process level.
And you can set listeners on a process level in the Designer. Just click on an empty space in the canvas and go to the properties view.

Best regards,

deepak_singhvi
Champ in-the-making
Champ in-the-making
My bad. Thanks Tijs.

Deepak  Smiley Happy