cancel
Showing results for 
Search instead for 
Did you mean: 

timer event is not firing in activiti

alexandrew
Champ in-the-making
Champ in-the-making
Timer is not fired after 1 minute (the specified time).
Note : I am using Activiti-5.13 version

My code snippet for boundary event timer definition in .bpmn file is as below:

<boundaryEvent id="boundarytimer1" name="Timer" attachedToRef="usertask1" cancelActivity="true">
      <timerEventDefinition>
        <timeDuration>PT1M</timeDuration>
      </timerEventDefinition>
</boundaryEvent>

In activiti-standalone-context.xml,  I have enabled jobExecutorActivate=true

<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
     <property name="dataSource" ref="dataSource" />
     <property name="transactionManager" ref="transactionManager" />
     <property name="databaseSchemaUpdate" value="true" />
     <property name="jobExecutorActivate" value="true" />
       <!– Other entries will come here –>
</bean>

1 REPLY 1

vasile_dirla
Star Contributor
Star Contributor
Hi,
I didn't test this timer in 5.13 yet, but do you have any reason to use 5.13 ?

Maybe you should use 5.18 and this will work for sure. (i used it yesterday in 5.18)