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-t...
Sent from the Drools: User forum mailing list archive at
Nabble.com.