JBoss Community

Help, JPBM4.3 Timer cannot fire

created by zhenyu yang in jBPM - View the full discussion

Hi,

 

I met a problem about the JPBM4.3's timer. basically,

when i attach it to transition, like

 

<transition  name="Test"  to="RESULT">

        <timer duedate="30 seconds" />

</transition>

 

it works fine.

 

for event-listener, when i directly attach it to state/task element, like

<state name="Test">

   <on event="start" >

             <event-listener class="TimeoutListener" />

    </on>

    <transition name="Branch1" to="Result1">

    </transition>

    <transition name="Branch2" to="Result2">

    </transition>

</state>

 

it works fine.

 

 

but when i try to attach the timer to state or task element, like

 

<state name="Test">

   <on event="timeout" >

       <timer duedate="30 seconds" />

             <event-listener class="TimeoutListener" />

    </on>

    <transition name="Branch1" to="Result1">

    </transition>

    <transition name="Branch2" to="Result2">

    </transition>

</state>

 

it never fires!.

 

anyone could explain me this weird thing? much appreciate your help!

 

p.s., i have imported the jobexecutor.cfg.xml file.

 

-zhenyu

Reply to this message by going to Community

Start a new discussion in jBPM at Community