[rules-users] Insert list of object to Guvnor in Decision table

Michael Anstis michael.anstis at gmail.com
Fri Jun 28 06:46:24 EDT 2013


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130628/222ee68c/attachment-0001.html 


More information about the rules-users mailing list