[rules-users] Modifying in built rule in new formatt
wasim.khan318
khanwasim07 at yahoo.co.in
Tue Dec 28 05:05:33 EST 2010
what if i have multuple combinations
say i have a database
ItemId CustomerId Price
1 10 20
1 11 30
a java class
public class Item
{
int ItemId;
int CustomerId;
int Price;
//
//geter and seter
//and a function to find price
}
i want to write
when
ItemId=$iyemid and CustomerId=$cid
then
Apply Specialprice
1as you say here i have multiple combinations in field
2 and what i think from your post i can store only one combination as a
class instance in WM
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Modifying-in-built-rule-in-new-formatt-tp2151450p2156090.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list