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]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to