[jboss-user] [jBPM] - Re: Restart JBPM5 Process after system crash

Demian Calcaprina do-not-reply at jboss.com
Mon Jun 11 21:59:03 EDT 2012


Demian Calcaprina [https://community.jboss.org/people/calca] created the discussion

"Re: Restart JBPM5 Process after system crash"

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

--------------------------------------------------------------
Hey,

at the moment of the "crash", the processes has been persisted? A process is persisted when it reaches a "wait state". I catching signal event is a wait state.

If so, you can simply do,
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, null, env);
ksession.signalEvent("Trigger", null);

as the processes are already persisted in db.

Demian
--------------------------------------------------------------

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

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/20120611/a7475578/attachment.html 


More information about the jboss-user mailing list