AnsweredAssumed Answered

timer event is not firing in activiti

Question asked by alexandrew on Oct 7, 2015
Latest reply on Oct 7, 2015 by vasile.dirla
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>

Outcomes