[rules-users] Insert list of object to Guvnor in Decision table
Raju Bandaru
raju_bandaru at infosys.com
Fri Jun 28 06:35:54 EDT 2013
Hi,
Am using Drools Guvnor 5.4 final version. I have created a package, decision
table in Guvnor and am invoking decision table from Spring application.
Please find attached snippet for your reference.
KnowledgeBase kbase = readKnowledgeBaseDefault();
StatefulKnowledgeSession ksession = null;
String message = null;
try {
ksession = kbase.newStatefulKnowledgeSession();
*ksession.insert(contactList);*
ksession.fireAllRules();
Requirement for me to send list of object(each objects is a rule :
contactList) to Guvnor and Guvnor should iterate the list of object and
invoke the rule.
Please help me on this requirement and how to achieve?
Regards,
Raju
--
View this message in context: http://drools.46999.n3.nabble.com/Insert-list-of-object-to-Guvnor-in-Decision-table-tp4024614.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list