[jboss-user] [jBPM Users] - How

cmjhingeniero do-not-reply at jboss.com
Tue Nov 24 14:58:48 EST 2009


Hi

I need to implement a process that has an automatic activity (java), to be repeated whenever a condition is not met. I have read on timer and on-event, but do not know if this applies to a task java. I also appreciate any guidance on what I need



  | <process name="PruebaTimer" xmlns="http://jbpm.org/4.2/jpdl">
  |   <start g="19,50,48,48">
  |     <transition to="wait" />
  |   </start>
  |   <state name="espera" g="98,46,127,52">
  |     <on event="timeout">
  |       <timer duedate="20 minutes" repeat="10 seconds" />
  |       <event-listener class="com.prueba" method="notify" />
  |     </on>
  |     <transition to="fin" g="-16,-17"/>
  |   </state> 
  |   <end name="fin" g="283,46,83,53"/>
  | </process>
  | 

Thanks

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

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



More information about the jboss-user mailing list