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