cancel
Showing results for 
Search instead for 
Did you mean: 

Timer start events -- what happens when I restart Activiti?

blezek
Champ on-the-rise
Champ on-the-rise
Hi,

  Perhaps someone can clarify this for us.  I've read the guide and the Javadocs, but am not sure about the expected behavior.

  We have embedded Activiti in our server process.  Periodically, we want to collect Metrics on the running system.  Easy enough, just define a workflow in Designer that starts with:
     <startEvent id="timerstartevent1" name="Start">
      <timerEventDefinition>
        <timeCycle>0 * * * * ?</timeCycle>
      </timerEventDefinition>
    </startEvent>
When first deployed, this works as expected.  Each minute some statistics are collected in our database.  However, if we restart the server, this workflow does not seem to restart.  That is, the deployment is persisted properly, but it is no longer scheduled to "fire".

Is there a recommended way to have a TimerStartEvent re-start when the Activiti server restarts?  Is this the expected behavior?

Cheers,
-dan
1 REPLY 1

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
If this realy is the behaviour you see, I think t can be considered a bug