I've just found an old forum post of my own that solves this problem..
http://drools.46999.n3.nabble.com/RemoveIdentities-with-KnowledgeAgent-td...
(I knew I'd come up against this before!)
If I do (before creating the session):
System.setProperty("drools.removeIdentities", "true");
Then the rule won't fire. But..
System.setProperty("drools.removeIdentities", "false");
And it does. Not sure if this is the *right* way to do it.. but it works.
--
View this message in context:
http://drools.46999.n3.nabble.com/Identity-Mode-tp4024428p4024430.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.