Ashish Sinha [
https://community.jboss.org/people/imtuku] created the discussion
"Re: How to restart process, when process terminated on timer JBPM 5.3"
To view the discussion, visit:
https://community.jboss.org/message/747823#747823
--------------------------------------------------------------
Fixed this issue -
1. Persist "processInstanceId" once process starts.
2. Load "process instance id" and send signal.
// Signal timer event,
kSession.signalEvent(type, event, processInstanceId);
Note - No need to load old session - Don't do this
JPAKnowledgeService.loadStatefulKnowledgeSession
Check process_instance_info table, if process terminats due to server crash, you would
find records there. Sending signal with given process intance id will resume process.
Job Done!!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/747823#747823]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]