Is it possible that the salience mechanism is broken in 6.1p4? I have a rule that I want to fire only if no other rule is "interested" in a fact:
(clear) (deftemplate request (slot creation (default-dynamic (call System currentTimeMillis)))) (defrule chew (salience -99) ?req <- (request (creation ?c)) => (retract ?req)) (assert (request)) (printout t "Fact set before salience:" crlf) (facts) (run) (printout t "Fact set after salience:" crlf) (facts) (undefrule chew) (defrule chew ?req <- (request (creation ?c)) => (retract ?req)) (run) (printout t "Fact set without salience:" crlf) (facts) The first definition of "chew", with the salience modifier, doesn't seem to run. Has this mechanism been modified? RJ -------------------------------------------------------------------- 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] --------------------------------------------------------------------
