cancel
Showing results for 
Search instead for 
Did you mean: 

Timer Events

rschneidman
Champ in-the-making
Champ in-the-making
I am using the RESTful api. When my workflow enters a timer event, I need a way to tell which timer event is being executed to display some information to the user. What is the best way to get the current timer event that is being executed?

Thanks
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

I think you are asking for event when process instance execution arrives to the timer catching event.
I would say that the easiest way is to use listeners on the flow to the timer catching event.

another possibility is to use 5.15 event infrastructure
http://www.activiti.org/userguide/#eventDispatcher

ENTITY_CREATED or ENTITY_INITIALIZED

Regards
Martin