[jboss-user] [jBPM] - in jbpm 4.3, timer not firing to leave its state node.

Tun Mang do-not-reply at jboss.com
Tue Jul 27 12:53:11 EDT 2010


Tun Mang [http://community.jboss.org/people/tunmang] replied to the discussion

"in jbpm 4.3, timer not firing to leave its state node."

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

--------------------------------------------------------------
Hi HuiSheng:

The following is my jbpm.cfg.xml for jbpm 4.3:

<?xml version="1.0" encoding="UTF-8"?>
 
<jbpm-configuration>
 
  <import resource="jbpm.default.cfg.xml" />
  <import resource="jbpm.jpdl.cfg.xml" />
  <import resource="jbpm.identity.cfg.xml" />    
  <import resource="jbpm.tx.hibernate.cfg.xml" />
 
  <import resource="jbpm.variable.types.xml" />
  <import resource="jbpm.jobexecutor.cfg.xml" />  
  <import resource="jbpm.businesscalendar.cfg.xml" />  
  <import resource="jbpm.jpdl.cfg.xml" />  
  <import resource="jbpm.mail.templates.examples.xml" />  
</jbpm-configuration>

The following is the sequence of our test activities :

    (1) deploy the .jpdl.xml which contains the state node associated with a timer :

<?xml version="1.0" encoding="UTF-8"?>
<process name="test_Timer_1">
   <start g="270,34,54,49" name="start1">     
      <transition to="generate-file"/>
   </start>
   <state g="222,123,147,40" name="generate-file">
      <transition g="-71,-15" name="timeout" to="remove-file">              
        <timer duedate="10 seconds"/>   
      </transition>           
   </state>
   <state g="222,214,147,40" name="remove-file">      
      <transition to="end1"/>     
   </state>        
   <end g="272,302,48,48" name="end1"></end>     
</process>

    (2) run the start process instance:

    (3) so we assume that the token entered the "generate-file" node and waited more that 10 seconds, but we still only saw 2 entries in the jpbm4_execution table.

   (4) then we deploy one more time, and now we saw the "remove-file" activity entry created in the jpbm4_execution table.

There must be something wrong, but we can not figure out from the jbpm cfg related xml files.

Thanks for your help again.







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

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

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/20100727/1c62bfa0/attachment.html 


More information about the jboss-user mailing list