[rules-users] Stateless session and rule flows

Yoni Mazar y.mazar at gmail.com
Thu Jun 26 10:30:42 EDT 2008


Hi Guys, 

We are trying to work with drools with stateless session (Sequential) and to
apply rule flows. 

we use the following code:

//define diagnosis and patient here
...

 StatelessSession session = ruleBase.newStatelessSession();
//Here we would like to use: session.startProcess("ruleflow id") but this is
a method which belongs to 
//StatefullSession only.
 session.execute(new Object[] {diagnosis, patient});

How can we do that in steteless mode?

Thanks, 

Yoni
-- 
View this message in context: http://www.nabble.com/Stateless-session-and-rule-flows-tp17863849p17863849.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list