the processInstanceId is very related with the business information that you
store about the business entity that you want to process.
If you are designing the solution, you must propose where do you want to
store it. I don't know your business entities so I cannot suggest where to
store that information.
If you don't have another stateful thing, the information can go to the
On Tue, Mar 30, 2010 at 2:49 PM, tolitius <webakaunt(a)gmail.com> wrote:
ok, let me be more specific.
Wait state is reached (request is sent to an external system), the flow is
persisted, the thread that persisted the flow is gone.
Now, the response came back from the external system, and now would be a
good time to resume the flow (reload the session):
StatefulKnowledgeSession ksession =
JPAKnowledgeService.loadStatefulKnowledgeSession( sessionId, kbase, null,
let's say the session is resumed. Now, having a "ksession", how do I get
the right PROCESS_INSTANCE_ID, so I can ksession.getProcessInstance()?
( P.S. No HTTP Session, no other stateful things besides DB. I would not
want to have my business entities know about something as low level as a
Drools Flow session )
View this message in context:
Sent from the Drools - User mailing list archive at Nabble.com
rules-users mailing list
- Salatino "Salaboy" Mauricio -