Guvnor is an authoring tool and repository. It is not a runtime component; hence your use-case is not possible with Guvnor.


On 28 June 2013 11:35, Raju Bandaru <raju_bandaru@infosys.com> wrote:
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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users