[rules-users] How to continue session, but remove all objects?

saynyshy saynyshy at gmail.com
Wed Dec 15 03:59:06 EST 2010


Hello!

I really need help and advice.

I'm using StatefulKnowledgeSession();
in loop I want to check Listls;
I have three rules.
(in rules I add some more objects to memory drools.insert(listOfLongIds);
drools.insert(listOfFloatAmounts); drools.insert(listOfStringNames);)

How can I remove all objects used for current element ls[i] checked in
rules, 
and continue session with no objects to check the next one?

Waiting for reply 
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-continue-session-but-remove-all-objects-tp2090965p2090965.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list