[jboss-user] [jBPM] New message: "Modeling a cycle with a timer in jBPM????"

carlos mauricio jaramillo henao do-not-reply at jboss.com
Wed Feb 10 12:32:44 EST 2010


User development,

A new message was posted in the thread "Modeling a cycle with a timer in jBPM????":

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

Author  : carlos mauricio jaramillo henao
Profile : http://community.jboss.org/people/cmjhingeniero

Message:
--------------------------------------------------------------
I have the  following case:

I have a task JAVA that makes a  transition decisions that evaluates a condition. If the condition is met the process  continues its normal flow, but marks the process should move to a new  transition state to do the task Java but after waiting 5 minutes

It is possible to model  this scenario??? I  have some other configuration in the timer???
 
<java class="com.configuracion.dao.ReposicionDao" g="605,23,107,54" method="verificarCarguePorReposicion" name="verificar cargue" var="verificarCargue">
        <arg><object expr="#{resReposicion}"/></arg>
        <arg><object expr="#{caf}"/></arg>
        <transition to="decisionCargue"/>
   </java>
   
   <decision g="876,26,48,48" name="decisionCargue">
        <handler class="com.configuracion.eventos.DecisionCargueCaf" />
        <transition g="999,51:-16,27" name="fin" to="fin seguimiento"/>
        <transition g="900,102;657,102:-26,-19" name="esperar" to="esperar"/>
   </decision>
   
   <state name="esperar" g="98,46,127,52">
        <transition to="verificar cargue" g="-43,-16">
              <timer duedate="5 minutes" /> 
        </transition>
   </state>
 
Thanks

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

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




More information about the jboss-user mailing list