[jboss-user] [jBPM] New message: "Re: Repeat timer only once"

Maciej Swiderski do-not-reply at jboss.com
Sun Mar 14 15:46:20 EDT 2010


User development,

A new message was posted in the thread "Repeat timer only once":

http://community.jboss.org/message/531887#531887

Author  : Maciej Swiderski
Profile : http://community.jboss.org/people/swiderski.maciej

Message:
--------------------------------------------------------------
You could try to create two timers instead of one that has repeat attribute.
 
I tested following configuration on a wait state:
    <on event="timeout">

      <timer duedate="10 minutes"/>

      <event-listener class="EventListenerClass" />

    </on>

    <on event="timeout">

      <timer duedate="20 minutes"/>

      <event-listener class="EventListenerClass" />

    </on>

please note that I tested it on 4.3 version so I can't say if that will work properly for version 3.
 
As soon as transition is taken to move forward all timers will be canceled/closed.
 
HTH
Maciej

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/531887#531887




More information about the jboss-user mailing list