[jboss-user] [jBPM] - Problem Signaling a Waiting Execution

HuiSheng Xu do-not-reply at jboss.com
Fri May 7 22:46:41 EDT 2010


HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"Problem Signaling a Waiting Execution"

To view the discussion, visit: http://community.jboss.org/message/541876#541876

--------------------------------------------------------------
Hi Ron,

  If you want to signal a waiting execution after a period time.  You could use timer like this.

<process name="TimerTransition" xmlns="http://jbpm.org/4.3/jpdl">

  <start>
    <transition to="guardedWait" />
  </start>

  <state name="guardedWait">
    <transition name="go on" to="next step" />
    <transition name="timeout" to="escalation">
      <timer duedate="10 minutes" />
    </transition>
  </state>

  <state name="next step" />
  <state name="escalation" />

</process>



  You could find more information in the developer guide.

 http://docs.jboss.com/jbpm/v4/devguide/html_single/#timertransition http://docs.jboss.com/jbpm/v4/devguide/html_single/#timertransition

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

Reply to this message by going to Community
[http://community.jboss.org/message/541876#541876]

Start a new discussion in jBPM at Community
[http://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/20100507/780f0302/attachment-0001.html 


More information about the jboss-user mailing list