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 event is not fired after specified time(1 minutes) . I am using Activiti 5.13 project

Please see the below entries in .bpmn file

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

And my configuration for enabling jobExecutorActivate is below.

<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>


Please let me know what could be the problem in my code.

1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Activiti 5.13 is very old (June 2013) … I don't remember any specifics anymore about that particular version and timers. Any reason why not using a more recent version?