[rules-users] irrational behaviour by drools engine

rjr201 rich.j.riley at gmail.com
Fri Feb 14 06:12:15 EST 2014


I still don't fully understand what you are trying to do, but could you maybe
try inserting each object in your hashmap as a fact rather than having a
global hashmap. Your rule would then look something like:

WHEN
   EncapsulatingObject($id : id)
   EncapsulatingObject(id == $id)
THEN
   Do something.. 
END

This rule simply checks if there are two encapsulatingObjects with the same
id. 



--
View this message in context: http://drools.46999.n3.nabble.com/irrational-behaviour-by-drools-engine-tp4028104p4028116.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list