Nov 02, 2018 · A decision table provides the capability of defining rules in a pre-formatted Excel spreadsheet. The advantage with Drools provided Decision Table is that they are easy to understand even for a non-technical person. In previous chapter we implemented a drools project for a jewellery shop to give discount according to the type of jewellery. The rules for this discount calculations we had written in a drl file. In this chapter we implement the same rules using the Drools Decision Table.Drools Decision Tables are excel based decision tables

How to use drools decision table in spreadsheet format to execute rules? The following example code will describe the process of using decision table to execute rules.There are two ways a) Use the spread sheet APIs directly to execute the rules. 2) Coding Rules in Decision Tables. In Drools, Decision Tables are a way to generate rules from the data entered into a spreadsheet. The spreadsheet can be a standard Excel (XLS) or a CSV File. If you want to learn how to code your Rules into an excel Spread Sheet, keep reading this tutorial: Getting started with Decision Tables in Drools