[jboss-user] [jBPM] - Re: How to restart process, when process terminated on timer JBPM 5.3

Ashish Sinha do-not-reply at jboss.com
Thu Jul 12 12:36:43 EDT 2012


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120712/04a8b544/attachment.html 


More information about the jboss-user mailing list