Hi
 
 I am a new user of Jboss Rules.I was trying to run a sample application where inside
"WHEN" i was trying to compare two dynamic values.But the right hand side of that condition check is not getting  evaluated.
Here is the drl code
 

rule "Need FS for LC"

when

m : Quotation( usertype == "LC" , amount > Quotation.LCLLT2 , amount < Quotation.LCHLT2 )

then

//System.out.println("WITHIN RANGE" );

m.setMessage( " Hi "+ m.getVendorname() +", U have requested an order for rs " + m.getAmount() + " as ur LC group, so financial status required");

m.setProceedFlag("medium");

end

 Quotation.LCLLT2  value i was trying to get from database . But this value is not getting evaluated here.

Please anyone can help me out .





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.