<p>Wait state is reached (request is sent to an external system), the flow is persisted, the thread that persisted the flow is gone.
<p/>
<p>Now, the response came back from the external system, and now would be a good time to resume the flow (reload the session):</p><p><br/>

StatefulKnowledgeSession ksession = JPAKnowledgeService.loadStatefulKnowledgeSession( <b>sessionId</b>, kbase, null, env );</p><p><br/>What would be the best approach to find this <b>SessionID</b> that was suspended? Is there any out of the box [ flow / business ] mapping that can be used?</p>
<p>
Thank you,<br/>
/Anatoly</p>

<br><hr align="left" width="300">
View this message in context: <a href="http://n3.nabble.com/Drools-Flow-Find-a-Session-ID-to-reload-the-JPA-Stateful-session-tp686250p686250.html">Drools Flow: Find a Session ID to reload the JPA Stateful session</a><br>
Sent from the <a href="http://n3.nabble.com/Drools-User-f47000.html">Drools - User mailing list archive</a> at Nabble.com.<br>