[jboss-user] [jBPM] - Re: jBPM Timer usage
saig0
do-not-reply at jboss.com
Fri Sep 7 02:54:04 EDT 2012
saig0 [https://community.jboss.org/people/saig0] created the discussion
"Re: jBPM Timer usage"
To view the discussion, visit: https://community.jboss.org/message/758483#758483
--------------------------------------------------------------
The following code is the configuration of the time event in jBPM. The expression "0s###1s" include the delay (0s) and the period (1s) of the timer.
<timerEventDefinition>
<timeCycle xsi:type="tFormalExpression">0s###1s</timeCycle>
</timerEventDefinition>
You can configure a boundary timer events if it should terminate the attached process or not then it fire. Just set the attribute "cancelActivity" on boundary event. So you can use it to build a remember function with a not terminating boundary timer event. Note that a boundary event can only attached to a process and not to a single activity.
<boundaryEvent id="_5" name="Timeout" attachedToRef="_2" cancelActivity="false" >
<timerEventDefinition>
<timeDuration xsi:type="tFormalExpression">5s</timeDuration>
</timerEventDefinition>
</boundaryEvent>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/758483#758483]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120907/c4c2c963/attachment.html
More information about the jboss-user
mailing list