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&...]