[jboss-user] [jBPM] - in jbpm 4.3, timer's event listener throws exception on ExecuteEventListener.java:68.

Tun Mang do-not-reply at jboss.com
Thu Jul 29 12:33:35 EDT 2010


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100729/4756c8fb/attachment-0001.html 


More information about the jboss-user mailing list