[jboss-user] [jBPM] - Re: Not terminating process if timer

Maciej Swiderski do-not-reply at jboss.com
Thu Apr 4 06:03:24 EDT 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Not terminating process if timer"

To view the discussion, visit: https://community.jboss.org/message/806408#806408

--------------------------------------------------------------
don't dispose the session when executing the process (like in script task) because it will kill the engine while it's running.

Dispose the session once you get control back from ksession.startProcess() method. When using timer you could add some delay (like Thread.sleep) to allow timer to fire.

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20130404/4defc605/attachment.html 


More information about the jboss-user mailing list