Decision Table

One can create a Decision Table by clicking the Decision Table button in the decision type selection options.

decision table 1

This will create a Decision Table page where you will be able to input your data. The inputs and outputs are automatically prefilled from the information in the diagram if available. A decision table is a tabular representation of a set of related input and output expressions, organized into rules indicating which output entry applies to a specific set of input entries.

On the side, will also be a DT-Quick Guide panel which describes the symbols which can be used in the decision table. This guide is aligned with the DMN specification.

Quick Tip: by pressing CTRL+SPACE while on a selected cell in a decision table, you will be able to access the auto-complete menu for the cell.

decision table 2

On every box, when you will click inside to enter content, a drop-down selector will appear on the top right corner of the box (see the picture below). This selector allow you to switch from FEEL, Uninterpreted FEEL (no content assist) or Natural Language

decision table 3
  1. FEEL: You will have content assist and highlighting for the content in the box.

  2. Uninterpreted FEEL: Provide no content assist and highlighting in order to handle customer expressions.

  3. Natural Language: No assist and won’t be executed.

When you click on item definition (see the picture below) you can define constraints on item definitions.

decision table 4

and the following modal will be displayed:

decision table 5

By clicking the Create Type button, you can create a reusable data type from a simple type with a constraint.

When editing your header type, if you have a constraint set, you can click on the "Allow null" check-box (see the picture below) to allow the possibility when editing cells to add null as a correct value.

decision table 6