Re: [rules-users] Multiple approvals in a Drools Workflow Doubt

2009-08-18 Thread Kris Verlaenen
> So can you tell me how to get the current instance Id of the process. ProcessInstance processInstance = ksession.startProcess("myProcess"); long processInstanceId = processInstance.getId(); > How state is persisted in Drools workflow? Is Drools flow uses some database to store the process insta

Re: [rules-users] Multiple approvals in a Drools Workflow Doubt

2009-08-18 Thread Pardeep . Ruhil
Hi Kris , Thanks for your reply. As you have said that drools workflow supports persistence state of a workflow. So can you tell me how to get the current instance Id of the process. How state is persisted in Drools workflow? Is Drools flow uses some database to store the process instance Id to

Re: [rules-users] Multiple approvals in a Drools Workflow

2009-08-17 Thread Kris Verlaenen
Hi, Yes, of course. When you're talking about approvals, I assume you are using human tasks nodes to model these approvals (each approval is one human task node). Whenever a user completes a task on his task list, the process engine will automatically be notified that this task has been complete

[rules-users] Multiple approvals in a Drools Workflow

2009-08-17 Thread Pardeep . Ruhil
Hi, I have a scenario where I want three approval levels for a particular request. Like for eg. For the first time , a user login in and create a request, then we will invoke a workflow process in which we have 3 approvals to approve the request. At first time mail will be send to 1st approver w