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.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to