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

"in jbpm 4.3, timer's event listener throws exception on 
ExecuteEventListener.java:68."

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

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

Because the process never reached the next node "remove-file", that is why 
executeJob() was added to the event handler. (By the way, during the process 
the job entry has been automatically removed from jbpm4_job table though.)

In the same process, if change the timer's node "generate-file" to the 
following, then it works (i.e. it reached the "remove-file" node):

   <state g="222,123,147,40" name="generate-file">     
      <on event="start">
       <event-listener>
          <field name="msg"><string value="entered the (generate-file) state 
node."/></field>
        </event-listener>       
      </on> 
      <transition g="-71,-15" name="timeout" to="remove-file">
        <timer duedate="10 seconds"/>  
      </transition>           
   </state>

Why it does not go to the next node if use the "timeout" event handler and how 
to make it work ?

Thanks a lot for your help.

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

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

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to