Thanks a lot for your immediate reply. I corrected and it worked. --- [EMAIL PROTECTED] wrote:
> > > rete.assertFact(new Fact("jess state > resume", > > rete)); // This should activate "AssertAnswer" > rule > > - but it never does > > > This isn't how you make Jess facts in Java. The > manual describes > things in detail: see here for an example of > creating an ordered fact > like yours: > > http://herzberg.ca.sandia.gov/jess/docs/61/library.html#ordered_fact > > > When you assert the fact correctly, the rule will > activate but not > fire -- you'll need to call run() again for that. > > > > > > --------------------------------------------------------- > Ernest Friedman-Hill > Advanced Software Research Phone: (925) > 294-2154 > Sandia National Labs FAX: (925) > 294-2234 > PO Box 969, MS 9012 > [EMAIL PROTECTED] > Livermore, CA 94550 > http://herzberg.ca.sandia.gov > > -------------------------------------------------------------------- > 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] > -------------------------------------------------------------------- > > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -------------------------------------------------------------------- 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] --------------------------------------------------------------------