On 14/02/2014, rjr201 <rich.j.riley(a)gmail.com> wrote:
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.
No, it doesn't - it wlll fire if there's just one EncapsulatingObject,
because that'll have an id equal to its own id. And it'll fire for any
other EncapsulatingObject...#
-W
--
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.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users