cancel
Showing results for 
Search instead for 
Did you mean: 

start, end & take events are not workin gon Start event of the process

penusila611621
Champ in-the-making
Champ in-the-making
Have noticed that Start event is not running the execution listener class attachead to Start Event of the process through start, end & take events.

but the same execution listener is getting executed on script task for two(start & end) events.

take event  is not working. Anybody here through some light how make take event work.
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Take event is only for sequence flows.
You can set a start event on process level, that will definitely be executed.
I would also expect the end event to be executed on a start event. Could you raise a JIRA if that's not working like that?

Thanks,

penusila611621
Champ in-the-making
Champ in-the-making
Have created a simple process Start Event–>Script Task–>End Event. hooked execution listener on Start Event, Script Task & End Event. Listener is not firing on Start Event & End Event with any events like start,end.

frederikherema1
Star Contributor
Star Contributor
We have tests for this:
org.activiti.examples.bpmn.executionlistener.ExecutionListenerTest (https://github.com/Activiti/Activiti/blob/7e91e91c080f1cbf274f3f4399670eba488aac1a/modules/activiti-...). This covers all possible scenarios we envisioned. Can you create a unit-test for this that fails and shows the behaviour you're seeing? From the description you're giving, I can only conclude this will work according to our tests…