[jboss-user] [jBPM] - Re: Continue Previous Process Instance
hansi007
do-not-reply at jboss.com
Thu Jul 5 10:11:26 EDT 2012
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120705/c1ccaa43/attachment-0001.html
More information about the jboss-user
mailing list