You can store the processInstanceId in your http session, in some business entity, depending on your situation there are myriad of ways of doing that.<br><br><div class="gmail_quote">On Tue, Mar 30, 2010 at 12:30 PM, tolitius <span dir="ltr">&lt;<a href="mailto:webakaunt@gmail.com">webakaunt@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
StatefulKnowledgeSession ksession =<br>
JPAKnowledgeService.loadStatefulKnowledgeSession( sessionId, kbase, null,<br>
env );<br>
<br>
Now, having a &quot;ksession&quot;, how do I get to the right PROCESS_INSTANCE_ID, so<br>
I can ksession.getProcessInstance()?<br>
<br>
Thank you,<br>
/Anatoly<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Drools-Flow-Getting-to-the-right-Process-from-the-re-loaded-Session-tp686219p686219.html" target="_blank">http://n3.nabble.com/Drools-Flow-Getting-to-the-right-Process-from-the-re-loaded-Session-tp686219p686219.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>