Book a Demo
Prev Next

Toolbar for Decision Table Editor

This table provides descriptions of the features accessible in the DMN Expression window when a Decision Table is selected.

Toolbar Options



See also

Save changes to the currently selected Decision or BusinessKnowledgeModel element.

Toggle the view for the Decision Table between Rule-as-Row, Rule-as-Column and Rule-as-Crosstab. Alternatively, click on the drop-down arrow and select the format you require.

Decision Table

Click on 'Sort By Input' to sort the rules by input columns; click on 'Sort By Output' to sort the rules by output columns. The columns can be dragged and dropped to organize the sorting order.

Merge cells of adjacent rules, where the content of the input entries is the same. You can edit the content of the merged cells. During simulation, the merged items are highlighted.

Split input entry cells that have previously been merged.

Display the 'Edit Parameters' window, where you can specify the names and data types of the parameters that are passed when invoking the decision logic of a BusinessKnowledgeModel element.

BKM Parameters

Append an input column to the Decision Table.

Append an output column to the Decision Table.

Append an annotation column (with a green heading cell) to the table, in which you can record short notes or comments on the rule. (See the illustrations in the Rule-as-Row/Rule-as-Column row earlier.) You can add more than one annotation column if required, typing in an appropriate column title in each heading cell.

To remove an annotation column, right-click on it and select the 'Delete Annotation Column' option.

Append a rule to the Decision Table.

Show or hide the allowed values fields for the 'Input' and 'Output' columns.

The allowed values defined for an input or output will be used for validation and auto completion editing.

Perform validation of the Decision Table.  Enterprise Architect will perform a series of validations to help you discover any errors in the Decision Table.

DMN Expression Validation

This button is enabled when a Decision Table is defined for a BusinessKnowledgeModel element.

Select the 'Input Parameter Values for Simulation' tab, complete the fields, then click on this button. The test result will be presented on the Decision Table, with the runtime values of inputs and outputs displayed and valid rule(s) highlighted.

You can use this functionality to unit test a BusinessKnowledgeModel element, without specifying its context.

A number of menu options are available for this tool bar button.  For more information, see the Help topic Simulate DMN Model.

Simulate DMN Model