JBoss Community

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

created by Tun Mang in jBPM - View the full discussion

Hi :

 

There is a timer session configured in my "jbpm.default.cfg.xml" as shown below:

 

    ....

    <timer-session />

    ....

 

The core of the process definition is very simple as shown below for the timer to fire and leave the state node:

 

    <state g="222,123,147,40" name="generate-file">
      <transition g="-71,-15" name="timeout" to="remove-file">
        <timer duedate="5 seconds"/>
      </transition>          
   </state>

 

The next node is an action to dump message to prove the process leaving and entering a new node.

 

When I run it, it never leaves the state node, but the jbpm database shows a pair of parent-child entries created:

 

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

    DBID       Activity         ID                                                State

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

    1210001  generate-file  test_Timer_1.1210001                    inactive-scope

    1210001  generate-file  test_Timer_1.1210001.generate-file  active-root

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

 

Is it because something missing in the "jbpm.default.cfg.xml", so it won't fire and leave ? or something else ?

 

Thanks for your help in advance.

Reply to this message by going to Community

Start a new discussion in jBPM at Community