[jboss-user] [jBPM] - Re: how i can continue the execution of a previous instance in jbpm5

hansi007 do-not-reply at jboss.com
Mon Sep 10 11:31:57 EDT 2012


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

"Re: how i can  continue the execution of a previous instance in jbpm5"

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

--------------------------------------------------------------
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/758842#758842]

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/20120910/9bebece8/attachment.html 


More information about the jboss-user mailing list