The code looks ok to me. If an activation has fired, then you cannot cancel it. Cancelled
events are only for activations that are true and have not yet fired.
Read my previous email about how to use the unmatch listener, that will do what you want.
On 12 Mar 2013, at 20:49, jrh3 <jrh3(a)att.com> wrote:
I just downloaded the last Drools 5.5 source code and it still has
problem. In DefaultAgenda.java, at line 707 in the cancelActivation()
method, it calls decreaseDormantActivations(), but doesn't bother to fire an
ActivationCancelled event. If lines 701-703 are copied before line 707,
then that is a quick way to fix the problem. (I have not checked 6.0)
View this message in context:
Sent from the Drools: User forum mailing list archive at Nabble.com
rules-users mailing list