<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;I am a new user of Jboss Rules.I was trying 
to run a sample application where inside </FONT></DIV>
<DIV><FONT face=Arial size=2>"WHEN" i was trying to compare two dynamic 
values.But the right hand side of that condition check is not getting&nbsp; 
evaluated.</FONT></DIV>
<DIV><FONT face=Arial size=2>Here is the drl code</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><B><FONT color=#960000 size=2>
<P align=left>rule</B></FONT><FONT size=2> </FONT><FONT color=#008000 
size=2>"Need FS for LC"</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#960000 size=2>when</P></B></FONT><FONT 
size=2>
<P align=left>m : Quotation( usertype == </FONT><FONT color=#008000 
size=2>"LC"</FONT><FONT size=2> , amount &gt; Quotation.LCLLT2 , amount &lt; 
Quotation.LCHLT2 )</P>
<P align=left></FONT><B><FONT color=#960000 size=2>then</P></B></FONT><FONT 
size=2>
<P align=left></FONT><FONT color=#808000 size=2>//System.out.println("WITHIN 
RANGE" ); </P></FONT><FONT size=2>
<P align=left>m.setMessage( </FONT><FONT color=#008000 size=2>" Hi "</FONT><FONT 
size=2>+ m.getVendorname() +</FONT><FONT color=#008000 size=2>", U have 
requested an order for rs "</FONT><FONT size=2> + m.getAmount() + </FONT><FONT 
color=#008000 size=2>" as ur LC group, so financial status required"</FONT><FONT 
size=2>);</P>
<P align=left>m.setProceedFlag(</FONT><FONT color=#008000 
size=2>"medium"</FONT><FONT size=2>);</P></FONT><B><FONT color=#960000 size=2>
<P>end</P>
<P>&nbsp;Quotation.LCLLT2&nbsp; value i was trying to get from database . But 
this value is not getting evaluated here.</P>
<P>Please anyone can help me out .</P></B></FONT></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br><br>
Disclaimer:&nbsp;This&nbsp;&nbsp;communication&nbsp;&nbsp;is&nbsp;&nbsp;for&nbsp;the&nbsp;exclusive&nbsp;use&nbsp;of&nbsp;the&nbsp;intended&nbsp;recipient(s)&nbsp;and&nbsp;&nbsp;shall&nbsp;&nbsp;not&nbsp;attach&nbsp;any&nbsp;liability&nbsp;on&nbsp;the&nbsp;originator&nbsp;or&nbsp;ITC&nbsp;Infotech&nbsp;India&nbsp;Ltd./its&nbsp;&nbsp;Holding&nbsp;company/&nbsp;its&nbsp;Subsidiaries/&nbsp;its&nbsp;Group&nbsp;Companies.&nbsp;If&nbsp;you&nbsp;are&nbsp;the&nbsp;addressee,&nbsp;the&nbsp;contents&nbsp;of&nbsp;this&nbsp;e-mail&nbsp;are&nbsp;intended&nbsp;for&nbsp;your&nbsp;use&nbsp;only&nbsp;and&nbsp;it&nbsp;shall&nbsp;&nbsp;not&nbsp;be&nbsp;forwarded&nbsp;to&nbsp;any&nbsp;third&nbsp;party,&nbsp;without&nbsp;first&nbsp;obtaining&nbsp;written&nbsp;authorization&nbsp;from&nbsp;the&nbsp;originator&nbsp;or&nbsp;ITC&nbsp;Infotech&nbsp;India&nbsp;Ltd./&nbsp;its&nbsp;Holding&nbsp;company/its&nbsp;&nbsp;Subsidiaries/&nbsp;its&nbsp;Group&nbsp;Companies.&nbsp;It&nbsp;may&nbsp;contain&nbsp;information&nbsp;which&nbsp;is&nbsp;confidential&nbsp;and&nbsp;legally&nbsp;privileged&nbsp;and&nbsp;the&nbsp;same&nbsp;shall&nbsp;not&nbsp;be&nbsp;used&nbsp;or&nbsp;dealt&nbsp;with&nbsp;&nbsp;by&nbsp;any&nbsp;&nbsp;third&nbsp;&nbsp;party&nbsp;&nbsp;in&nbsp;&nbsp;any&nbsp;manner&nbsp;whatsoever&nbsp;without&nbsp;the&nbsp;specific&nbsp;consent&nbsp;&nbsp;of&nbsp;&nbsp;ITC&nbsp;&nbsp;Infotech&nbsp;India&nbsp;Ltd./&nbsp;its&nbsp;Holding&nbsp;company/&nbsp;its&nbsp;Subsidiaries/&nbsp;its&nbsp;Group&nbsp;Companies.</td></tr></table></BODY></HTML>