Hi Yes from the quote I got the understanding that it act as java.wait(), but I realize it's not so, and indeed it after signal() it saves the state to database, Then when I get the event I load the process from DB using the process definition id and continue on with the flow, somehow now I have another strange problem that one sognal call all states in flow,
| <?xml version="1.0" encoding="UTF-8"?> | | <process-definition name="Submits New Support Request"> | | <start-state name="create explicit direct call"> | <transition to="wait for expert to pick up call"> | <action name="startCallAction" config-type="bean" | class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy"> | <targetBean>requestDirectSupportActionHandler</targetBean> | <factoryKey>jbpmConfiguration</factoryKey> | </action> | </transition> | </start-state> | | | <state name='wait for expert to pick up call'> | <event type="node-enter"> | <action name="waitToPickup" | class="com.supportspace.stargate.service.impl.jbpm.action.ExpertPickupCallActionHandler"/> | </event> | <transition name="accept" to="supporter accept call" /> | <transition name="decline" to="supporter decline call" /> | <transition name="ignore" to="supporter ignore call" /> | </state> | | <state name='supporter accept call'> | <event type="node-enter"> | <script>System.out.println("++++++++++++++ supporter accept call....")</script> | </event> | <transition to='supporter decline call' /> | </state> | | | <state name='supporter decline call'> | <event type="node-enter"> | <script>System.out.println("---------------- Supporter Declien call....")</script> | </event> | <transition to='supporter ignore call' /> | </state> | | <state name='supporter ignore call'> | <event type="node-enter"> | <script>System.out.println(">>>>>>>>>>>>>>>>>>> upporter reject call....")</script> | </event> | <transition to='end' /> | </state> | | | <end-state name='end'> | <event type="node-enter"> | <script>System.out.println(">>>>>>>>>>>>>>>>>>> Customer recives support ack and end session")</script> | </event> | </end-state> | </process-definition> | After the first signal I see all System.out messages, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043928#4043928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043928 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user