<!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> </DIV>
<DIV><FONT face=Arial size=2> 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
evaluated.</FONT></DIV>
<DIV><FONT face=Arial size=2>Here is the drl code</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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 > Quotation.LCLLT2 , amount <
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> Quotation.LCLLT2 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: This communication is for the exclusive use of the intended recipient(s) and shall not attach any liability on the originator or ITC Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group Companies. If you are the addressee, the contents of this e-mail are intended for your use only and it shall not be forwarded to any third party, without first obtaining written authorization from the originator or ITC Infotech India Ltd./ its Holding company/its Subsidiaries/ its Group Companies. It may contain information which is confidential and legally privileged and the same shall not be used or dealt with by any third party in any manner whatsoever without the specific consent of ITC Infotech India Ltd./ its Holding company/ its Subsidiaries/ its Group Companies.</td></tr></table></BODY></HTML>