[jboss-user] [jBPM] - Continue Previous Process Instance
TC ONG
do-not-reply at jboss.com
Thu Jun 7 23:30:46 EDT 2012
TC ONG [https://community.jboss.org/people/devilkazuya99] created the discussion
"Continue Previous Process Instance"
To view the discussion, visit: https://community.jboss.org/message/740582#740582
--------------------------------------------------------------
I am using Drools 5.4 and jbom 5.3.
I am using perisitance.
I run my apps in Tomcat + Spring + Hibernate.
I started with:
ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
ProcessInstance processInstance = ksession.startProcess(processName, processVariables);
these works.
Then I try:
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, null, env );
int processInstancesSize = ksession.getProcessInstances().size(); // = 0
at this stage ksession.getProcessInstances() is empty.
So how can I continue my processInstance?
How to do it?
Any example?
I'll search around the github, but any help will be great.
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/740582#740582]
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/20120607/cc2a8adc/attachment-0001.html
More information about the jboss-user
mailing list