I didn't run your program but I did notice that many of your rules are dependent on an absence of a 'repair' fact. Since you appear to retract the repair fact, these rules will fire again. You should 'watch rules' or 'watch all' to see what is happening ... it will tell you exactly why the rules are being put back on the agenda.
Bob Orchard National Research Council Canada Conseil national de recherches Canada Institute for Information Technology Institut de technologie de l'information 1200 Montreal Road, Building M-50 M50, 1200 chemin Montrial Ottawa, ON, Canada K1A 0R6 Ottawa (Ontario) Canada K1A 0R6 (613) 993-8557 (613) 952-0215 Fax / tilicopieur [EMAIL PROTECTED] Government of Canada | Gouvernement du Canada -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of H|bner Sent: Friday, January 27, 2006 3:32 AM To: jess-users@sandia.gov Subject: JESS: retract doesn't work like I want it to do Hello everybody, I need a hint from you. When I try to retract a fact, all other facts are reactivated. To understand what I mean, I'm sending the "anlageneu.clp" and "fehlertabelle.dat" with this mail. It has a small GUI and it's asking some questions to the user. Answer the first question with "expertensystem", the second with "ja" and the third with "nein". This procedure will insert the following facts to the working memory: (fehlermeldung) (Zylinder IO) (Funktion Probleme) (fehlermeldung2) (fehlermeldung3) (Notausschalter unbetaetigt) (Geschlossen) (repair "Jeder Notaus- Knopf muss unbetaetigt sein. Loesen Sie alle, die noch gedrueckt sind!") In the next step I have to retract the last fact to fire the rule "reparatur_Schutztuere_Stufe1", but it restarts questioning the user with the first three questions. Can somebody tell me what's wrong with the code? Best regards, Lars -------------------------------------------------------------------- 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] --------------------------------------------------------------------