Re: [rules-users] Multiple approvals in a Drools Workflow Doubt
> 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 instance Id to store the state of the process like in JBPM? Yes, the persistence is fully pluggable (meaning that you can run the engine without any database behind it), but we provide a JPA-based implementation for storing the state in any persistent store supported by JPA. For more info, check out the documentation: https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch05.html#d0e1479 Thx, Kris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Multiple approvals in a Drools Workflow Doubt
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 store the state of the process like in JBPM? Please help to answer my queries. Thanks & Regards Pardeep Ruhil L&T Infotech Ltd Mumbai Ph: +919820283884 Larsen & Toubro Infotech Ltd. www.Lntinfotech.com This Document is classified as: L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech Internal Use Only L&T Infotech General Business This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. _ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users