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

hansi007 do-not-reply at jboss.com
Mon Sep 17 11:04:29 EDT 2012


hansi007 [https://community.jboss.org/people/hansi007] created the discussion

"Re: Restart JBPM5 Process after system crash"

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

--------------------------------------------------------------
Another option could be to remember the work_item / work_item_id that you stopped at without completing it. Than you can continue that process by completing that workitem:

int workitemId = ... //From the work item that you remembered.
StatefulKnowledgeSession ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, config, env );
WorkItemManager wManager =  ksession.getWorkItemManager();
wManager.completeWorkItem(workitemId,null);
--------------------------------------------------------------

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

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/20120917/8151d5d4/attachment-0001.html 


More information about the jboss-user mailing list