cancel
Showing results for 
Search instead for 
Did you mean: 

Timer Boundary Events

pault
Star Contributor
Star Contributor
I'm trying to set a timer event on an activity that has no other sequenceFlow leaving it - i.e. I just want a timed delay, rather than an escallation process.

I'm doing this following the example in the user guide, with a timer period of 10 seconds, but the timer never seems to fire and the process stays in the wait activity.

Should I be able to do this in the current version ?

Here is the relevant BPMN xml, I've tried a userTask rather than a recieveTask as well, in either case iy never progresses from "waitSate" :

           <receiveTask id="waitState" name="Wait" />
      
      <boundaryEvent id="waitTimer" cancelActivity="true" attachedToRef="waitState">
         <timerEventDefinition>
          <timeDuration>PT10S</timeDuration>
        </timerEventDefinition>
      </boundaryEvent>
       
      <sequenceFlow id="flow3" sourceRef="waitTimer" targetRef="mServiceTask" />
2 REPLIES 2

jcosano
Champ in-the-making
Champ in-the-making
First of all, you should check if "jobExecutorActivate" property is enabled…

in ProcessEngineConfiguration xml file, if you have:
<property name="jobExecutorActivate" value="false" />

then timers are disabled..

I don't test 5.0 yet, but I have a lot of timers running under rc.

pault
Star Contributor
Star Contributor
First of all, you should check if "jobExecutorActivate" property is enabled…

in ProcessEngineConfiguration xml file, if you have:
<property name="jobExecutorActivate" value="false" />

then timers are disabled..

I don't test 5.0 yet, but I have a lot of timers running under rc.

Thanks - that is exactly what it was. I had just taken the default config file.