[jboss-user] [JBoss jBPM] - Re: Timer repetition problem
rodosa
do-not-reply at jboss.com
Mon Jan 12 07:59:25 EST 2009
Yes, I have a process definition where I've defined a simply timer like this:
| <state name="state1">
| <transition to="end-state1"></transition>
| <event type='node-enter' >
| <create-timer name='timeout' duedate='10 seconds' repeat='yes' >
| <script>System.out.println("I reset my timer!");</script>
| </create-timer> </event> <event type='node-leave' >
| <cancel-timer name='timeout' />
| </event>
| </state>
|
And form a jUNIT I managed this, but It's only executed once. I don't know how it works. Because that the timer would be saved in the BD for its execution, but ... I dont know any documentation where specifies this.
NOTE: I'm using jbpm 3.2.3
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200976#4200976
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200976
More information about the jboss-user
mailing list