Timer Boundary Events
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2010 10:26 AM
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" />
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" />
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2010 11:08 AM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2010 11:38 AM
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.
