yes. the workItemId is always persisted in the data base..


On Fri, Mar 26, 2010 at 9:32 PM, tolitius <webakaunt@gmail.com> wrote:

Kris, Salaboy,

   I am just looking for the best approach to establish a relationship
between the business "Activity" and the Drools Flow "Workitem".

   So according to Kris (thank you), WorkItemHandler would have a reference
to a WorkItemId that can be persisted before the workflow gets suspended
[goes to the "wait state"].

   So let me try to ask my question again: "businessService is passing a
documentId to the workflowService.resumeWorkflow( documentId )...", can the
workItemID be persisted using a Variable Persistence, so when the flow
resumes, I can just do processInstance.getVariable( "workItemId" ) [or
whatever the API to get variable is]?

    If NOT, is there a place within the Drools Flow tables, I can persist
this WorkItemID [besides the VariableInstanceInfo]?

Thank you,
/Anatoly

P.S. These are two questions
--
View this message in context: http://n3.nabble.com/Resuming-the-Flow-SESSION-ID-PROCESS-INSTANCE-ID-WORKITEM-ID-tp607507p677804.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -