suppose i have an object Customer and i insert the object of customer in the
session...
class Customer
{
custID;
//getter and setter
}
Customer customer = new Customer()
ksession.insert(customer)
now i fire a couple of rules on this object..
and within the rules, the custID is set with three different values. Ex -
001,002,003
is there a way by which i can get all the three values ??
if I use a factHandle like
FactHandle fh = ksession.insert(customer)
syso(((Customer)ksession.getObject(fh)).getCustID)
//output is only 003..
i need all the three values..what can be done !!??
--
View this message in context: http://drools.46999.n3.nabble.com/Setting-and-extracting-different-values-for-the-same-object-using-rules-tp4018660.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users