cancel
Showing results for 
Search instead for 
Did you mean: 

Timer Event Start does not start on time

dilpreetsingh
Champ in-the-making
Champ in-the-making
I am new to Activiti and i am having this problem. Please help

I have a timer start event

<startEvent id="timerstartevent1" name="Timer start">
      <timerEventDefinition>
        <timeCycle>R1000/2015-06-19T14:08/PT4M</timeCycle>
      </timerEventDefinition>
    </startEvent>

I want it to run after every 4 min 1000 times. But sometimes it runs sometimes it does not so i have to redeploy it and still the same problem.
At that timer event , a java function is supposed to run an sql query just to update a table. But it does not get updated when it should.
I found a forum saying that if a timer event fails 3 times then it stops running. I dont think if it should fail as the function is just updating a table but i found in ACT_RU_JOB that it has failed 3 times.
Please enlighten me to this problem and how to resolve it.
Thanks in advance

D.
4 REPLIES 4

balsarori
Champ on-the-rise
Champ on-the-rise
Is there any information in EXCEPTION_MSG_ and EXCEPTION_STACK_ID_ columns in ACT_RU_JOB table?

dilpreetsingh
Champ in-the-making
Champ in-the-making
Both columns showing NULL values

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Which version do you use? (Are changes in timer start event in 5.18.0-SNAPSHOT)
Can you reproduce the issue in jUnit test? (http://forums.activiti.org/content/sticky-how-write-unit-test)

Regards
Martin

dilpreetsingh
Champ in-the-making
Champ in-the-making
I am using 5.17.0 version of activiti.