Thanks ..
Just to summarize :
My modified drl file should be looking something like this (for both the
requirements mentioned). Could you pls verify :
===============================================================================
package application.rules
global application.customresults.ProjectResults projRes ;
import application.custom.Project;
rule "project-1.option1"
when
$proj : Project();
eval ($proj.getStringValue("Drools") .equals ("ABC"))
then
projRes.setResult("Drools project");
end
rule "project-1.option2"
when
$proj : Project();
eval ($proj.getStringValue("Java") .equals ("DEF"))
then
projRes.setResult("Java project");
end
===============================================================================
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Queries-with-relation-to-the-LHS...
Sent from the Drools: User forum mailing list archive at
Nabble.com.