[rules-users] Guvnor Fact field

wasim.khan318 khanwasim07 at yahoo.co.in
Mon Dec 27 03:24:19 EST 2010


i have a table in database Contain itemId and Item Price  suppose i want to
do that 
public  class Applicant 
{
private  int ItemId;
public static int Calculate(ItemId id)
{
// here i have written code to find item price and apply some  formula for
adding tax 


and return prices 
}


}

when i importing this class in guvnor  application . in technical rule
editor.  under fact field it is not showing 
Calculate as a fact
i want to write 
when
100<(Calculate(1))
then
//// some rule 
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-Fact-field-tp2150854p2150854.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list