[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

Arunkumar DSRC do-not-reply at jboss.com
Wed Mar 18 05:47:46 EDT 2009


Do you have some thing like the one below which works?

  | <state name="tsmactoncr" async="true">
  | <event type="node-leave">
  | <cancel-timer name="timer"></cancel-timer>
  | </event>
  | <timer duedate="7 seconds" name="timer" transition="to escalated">
  | <script>
  | System.out.println("Arunkumar---::"+node.getName());
  | </script>
  | </timer>
  | <transition to="normailflow" name="to normal flow"></transition>
  | <transition to="escalationflow" name="to escalated"></transition>
  | </state>
  | <task-node name="escalationflow">
  | <task name="mail">
  | <assignment class="yourpackage.MailAssignmentHandler"></assignment>
  | </task>
  | <transition to="end-state1"></transition>
  | </task-node>
  | 
thanks



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

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



More information about the jboss-user mailing list