This guide will go over creating a Decision table in a Decision Model and Notation (DMN) Project. A decision table is an essential type of boxed expression that is vital in DMN projects. Decision tables are needed when rules and conditions are best represented in tabular form.
Add a Decision Table to your Project
In your project window select the New Document icon. Add a decision table to your DMN project by selecting Decision Logic>Decision Table.

Set up the Decision Table for your DMN Project
In the new decision table, drag and drop conditions and actions. Alternatively you can drag and drop inputs and outputs to set up associate parameters right with the columns.

Select the plus icon on the left side of the decision table to add expressions for each column and action. Select the empty space, and in the parameters window, enter the expression. This can be as simple as a constant value or a paramer as seen below:

Since this is a DMN project, you can use FEEL expressions in the decision table.
In the following example conditions have variables and the cells below check their value. Based on that value an action will assign one of two possible values.

Summary
In the FlexRule platform adding a Decision table in a Decision Model and Notation project is as simple as selecting it from the project window. Decision tables are essential for representing rules and conditions. Each column and action can use FEEL expressions. Learn more about how decision tables work in our resource hub article: Decision Table.

