Actually i am writing a service class which actually class a rule file before saving the data into database. I want to capture error messages and show it to user. I have used list in the rule file to add error messages but i cant convert the list to the object type. Since many number of objects (VO's) are there i have written one method called as Messages class in which all error messages are added in a list. I have set those error messages as ksession.setMessages(VO). Its working fine. But a laborious method i have written. Its tooo complex. I want an idea for which i can capture the errors and set it to the object itself. The code should be generic so that any object can use it.
Regards Surya -- View this message in context: http://drools.46999.n3.nabble.com/Return-type-tp3870620p3905551.html Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com. _______________________________________________ rules-dev mailing list rules-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev