1 Reply Latest reply on Oct 19, 2011 9:02 AM by Maciej Swiderski

    Help, JPBM4.3 Timer cannot fire

    zhenyu yang Newbie

      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