[jboss-user] [jBPM] - Help, JPBM4.3 Timer cannot fire

zhenyu yang do-not-reply at jboss.com
Mon Oct 17 22:21:37 EDT 2011


zhenyu yang [http://community.jboss.org/people/zhenyuy] created the discussion

"Help, JPBM4.3 Timer cannot fire"

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

--------------------------------------------------------------
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
[http://community.jboss.org/message/632171#632171]

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/20111017/1be94a39/attachment.html 


More information about the jboss-user mailing list