Looks OK.<br>-W<br><br><div class="gmail_quote">On 11 August 2011 12:52, Dibya <span dir="ltr">&lt;<a href="mailto:dibya.tcs@gmail.com">dibya.tcs@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks ..<br>
<br>
Just to summarize :<br>
<br>
My modified drl file should be looking something like this (for both the<br>
requirements mentioned). Could you pls verify :<br>
<br>
===============================================================================<br>
package application.rules<br>
<br>
global application.customresults.ProjectResults  projRes ;<br>
<br>
import application.custom.Project;<br>
<br>
rule &quot;project-1.option1&quot;<br>
<br>
when<br>
<div class="im">$proj : Project();<br>
eval ($proj.getStringValue(&quot;Drools&quot;) .equals (&quot;ABC&quot;))<br>
<br>
</div>then<br>
projRes.setResult(&quot;Drools project&quot;);<br>
<br>
end<br>
<br>
rule &quot;project-1.option2&quot;<br>
<br>
when<br>
<br>
$proj : Project();<br>
eval ($proj.getStringValue(&quot;Java&quot;) .equals (&quot;DEF&quot;))<br>
<br>
then<br>
projRes.setResult(&quot;Java project&quot;);<br>
<br>
end<br>
===============================================================================<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Drools-Queries-with-relation-to-the-LHS-and-RHS-syntax-of-the-rule-tp3244097p3245563.html" target="_blank">http://drools.46999.n3.nabble.com/Drools-Queries-with-relation-to-the-LHS-and-RHS-syntax-of-the-rule-tp3244097p3245563.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>