hansi007 [
https://community.jboss.org/people/hansi007] created the discussion
"Re: Continue Previous Process Instance"
To view the discussion, visit:
https://community.jboss.org/message/746377#746377
--------------------------------------------------------------
Hi there. I Think I had the same problem you have (but with jBPM 5.2). I used to following
workaround:
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, config,
env );
registerWorkItemHandlersAndEventListeners();
initPersistenceLogger();
if(workitemId != -1){
WorkItemManager wManager =
ksession.getWorkItemManager();
wManager.completeWorkItem(workitemId,null);
}
So i had to store the sessionId and the actual workItemId.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/746377#746377]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]