[jboss-user] [JBoss jBPM] - Re: Timers in jBPL

juergen_lampe do-not-reply at jboss.com
Wed Oct 1 11:54:49 EDT 2008

This was THE hint - now it works as expected:
	<state name="warte 1">
  |          <timer name='reminder' 
  |                 duedate='2 minutes' 
  |                 transition='ex1' 
  |                 cancel-event='node-left'>
  |              <script>
  |                System.out.println("Timer fired "+node);
  |              </script>
  |          </timer>
  | 		<transition to="Ende" name="ex1"></transition>
  | 	</state>
But the docu is misleading, saying:
anonymous wrote : this attribute is only to be used in timers of tasks. it specifies the event on which the timer should be cancelled. by default, this is the task-end event, but it can be set to e.g. task-assign or task-start. ...

Thanks a lot!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179855#4179855

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179855

More information about the jboss-user mailing list