Skip to end of metadata
Go to start of metadata

Drools.Net now also supports Decision tables. Decision tables are a simple and clean method of representing business rules, and is included with the .Net distribution.

Refer to the Drools documentation pages on Business rules and Decision tables.

Drools.NET Decision Tables:

Decision Tables in Drools.NET work similarly to decision tables in Drools. Please visit http://drools.codehaus.org/Decision+Tables, in order to get an understanding of how decision tables are used in drools.

Getting Drools.NET Decision Tables working:

Using Drools.NET decision tables is very similar to the regular Drools.NET API. Following is an example code snippet:

 

 

Drools.NET v/s Drools Decision Tables:

The only difference between the two decision tables is the language used for specifying conditions, consequences, functions etc. For Drools.NET, the language should be a .NET language, while in Drools Decision Tables it is Java.

Syntax of Decision Tables:
Decision Table's syntax in Drools.NET is exactly the same as Decision Tables in Drools.

Labels: