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/t...
Thx,
Kris
Disclaimer:
http://www.kuleuven.be/cwis/email_disclaimer.htm