Dear Wolfgang,

Thanks a lot for the help! I already knew that defining rules for Drools is
an act of declarative programming. Now I understand better what that means
and I'm getting the hang of it. I did indeed introduce a new class called
UpperBound. I built in something so that I can deal with different types of
symptoms. Finally, I replaced the initialisation rule with this one:

rule "Initialisation"
    salience 100
    when
        eval(true);  // always!
    then
        insert(new UpperBound("AnimalDiseaseSymptom", "fever", 20));
        # etc.
end;

Regards, Dobedani
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Looking-up-values-in-WHEN-block-tp921790p922096.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to