Thanks
I made a search and it seems it is controlled by a config to switch between
identity or equality. Since I can only write rules, I can't enjoy the
advantage of that.
I ended up writing a retract rule to retract the same (equal) object from
memory with higher salience. So everytime some rules insert a new object,
this rule will fire to remove the object if they have the same id.
--
View this message in context:
http://drools.46999.n3.nabble.com/Any-easy-way-to-avoid-inserting-same-id...
Sent from the Drools: User forum mailing list archive at
Nabble.com.