Hi,
        I have a qst abt rule firings.. I have a piece of code
 
rete.executeCommand("(batch rules)");
rete.executeCommand("(load-facts file)");
rete.assertString("(select-all)")
rete.run();
 
where "file" is a file of facts to be asserted and "rules" is a set of rules.
the fact select-all is supposed to fire a rule whose "If" clause matches a fact in the fact base.
The above code does not work.
 
but when I explicitly load the facts using 
rete.assertString("(.........................)"); , things work fine
 
I am unable to figure out why this is happening.
 
 
Thanks,
Archana
 

Reply via email to