Decision Table and List of Facts

148 views
Skip to first unread message

Dhamodharan Krishnan

unread,
Jun 15, 2017, 3:52:32 PM6/15/17
to Drools Usage
Does anyone have a sample Decision Table with list of facts in the second sheet? If there is any link that I can go through to understand the design, it would be great.

Abhijit Humbe

unread,
Jun 15, 2017, 9:42:44 PM6/15/17
to drools...@googlegroups.com
You can see couple of nice examples in drools decisiontable module, go through https://github.com/kiegroup/drools/tree/master/drools-decisiontables/src/test

Abhijit Humbe

On Fri, Jun 16, 2017 at 1:22 AM, Dhamodharan Krishnan <dhamodhara...@gmail.com> wrote:
Does anyone have a sample Decision Table with list of facts in the second sheet? If there is any link that I can go through to understand the design, it would be great.

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/3d5dd16d-c6e8-417b-b990-24162ca50ed1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dhamodharan Krishnan

unread,
Jun 16, 2017, 10:26:30 AM6/16/17
to Drools Usage
Hi Abhijit,

   I have gone through all the sample Decision Table spreadsheets. I believe the Lists in the second spreadsheet are just the list of values ( a Label -Value ) pair that can be used as a drop down of values in the Rule spreadsheet. 

Is there a way to have a list of values defined and consumed in the rule. 
For e.g., I want to define the list of Student ID in the second sheet and collect them in a List object. Is that feasible?

I can define in the first sheet. But then, each row becomes a rule by itself. I might go up to millions of Student IDs and I don't want to have millions of rules being created in the system. 

Please help me understand the right approach.

Thanks,
Dhamo.


On Thursday, June 15, 2017 at 8:42:44 PM UTC-5, Abhijit Humbe wrote:
You can see couple of nice examples in drools decisiontable module, go through https://github.com/kiegroup/drools/tree/master/drools-decisiontables/src/test

Abhijit Humbe

On Fri, Jun 16, 2017 at 1:22 AM, Dhamodharan Krishnan <dhamodhara...@gmail.com> wrote:
Does anyone have a sample Decision Table with list of facts in the second sheet? If there is any link that I can go through to understand the design, it would be great.

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages