Looks OK.
-W

On 11 August 2011 12:52, Dibya <dibya.tcs@gmail.com> wrote:
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-and-RHS-syntax-of-the-rule-tp3244097p3245563.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users