Hi Kiran,
I usually don't post before doing "homework". Unfortunately Drools Flow
documentation is too high-level in order to actually understand how it all
comes together without looking at the source code...
WorkflowService {
...
resumeFlow ( someBusinessId ) {
// NO SESSION_ID given
// NO PROCESS_INSTANCE_ID given
// NO WORKITEM_ID given (or "ExecuteWorkItem" parameter
for that matter)
}
...
}
Again:
1. How these three relate to each other?
examples of the answers: [ session has many processes, process has
many workitems ], [session is singleton for the knowledge base given, and
has many processes, which have many workitems], etc..
2. How do I find these IDs in the sample method above?
3. I understand "workitemId" can resume the flow, but do I need session
and process IDs to get to that work item?
4. Given that multiple workitems may be completed, how do I know, having
SESSION_ID and PROCESS_ID (which I hopefully can get from the question "2")
which workitem to mark as complete?
Thank you,
/Anatoly
--
View this message in context:
http://n3.nabble.com/Resuming-the-Flow-SESSION-ID-PROCESS-INSTANCE-ID-WOR...
Sent from the Drools - User mailing list archive at
Nabble.com.