I'm not sure of the precise semantics you want, but note that you get a ACTIVATION JessEvent when a rule is ready to fire, but before it fires; and an ACTIVATION | REMOVED JessEvent if it is removed from the agenda before firing -- i.e., if the conditions are true, but then become untrue. Maybe you can use that. I think Jinhua Xi wrote: > > Another question is about JessEvent. JessEvent handles > the event for DEFRULE_FIRED. Is it possible to handle > a situation when a defrule was fired on the last > rete.run() but does not fire on this run()? If we can > get an event on this situation, the problem with the > "else" condition can be resolved without adding any > "not" defrules. --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 [EMAIL PROTECTED] PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 --------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] ---------------------------------------------------------------------