This use case provides a general outline of how to use Decision Model and Notation (DMN). This is to be illustrated using an application procedure as an example.
Procedure
Model a diagram of Decision requirements diagram type.
Procedure
Decision requirements diagram type.
a diagram ofYou can create new DMN diagrams. Various options exist to create a diagram. The following section describes the procedure using the Explorer.
Prerequisite
The DMN diagrams type that your diagram is based on is allowed by the method filter used. You select the method filter when you log in to the database.
Procedure
Click ARIS > Explorer.
Click Navigation in the bar panel if the Navigation bar is not activated yet.
Open the relevant database.
Select the group in which the new diagram is to be saved.
If you open the database for the first time, you can specify the filter to be applied when it opens and the language you want to use for the models. Then click Finish.
Click the group in which you want to save the diagram.
Click New >
Model. The Model Wizard opens.
Specify the relevant settings and click Finish.
The diagram is newly created in the selected group and opened for editing in a new tab.
Model a Decision object.
Model the relevant input data.
You can now define the data that is necessary for the decision object.
Assign each input data a DMN context diagram and specify the input data for the Decision object.
Procedure
Assign to each input data a DMN context diagram.
Model the relevant Item definition objects to specify the input data.
Open the properties of each Item definition object and select DMN.
Specify your settings.
You have assigned DMN context diagrams and specified the input data.
Example
Assign a DMN decision table to the Decision object.
Procedure
Assign a DMN decision table to the Decision object.
Input columns.
You can add an Input column.
Procedure
Open a DMN decision table.
Click Add Input.
Click the Input column header.
Click Configure column. The dialog opens.
Enter a name.
Specify a data type. You can create a new object of type Item definition or use an already existing.
You have added an Input column.
Tip
Click F2 to open the dialog. Use the Tab key and the arrow keys to specify a data type. Make your entries and press Enter.
your decision rules.
You can add rules to your DMN decision table. Rules are added in new rows.
Procedure
Open a DMN decision table.
Select a row.
Click Add Rule.
Enter input and output data and an annotation.
You have added a rule.
Tip
If your mouse cursor is in the row below the last row, start typing to open the dialog. Use the Tab key and the arrow keys to specify a data type.
input data.
You can delete input data.
Procedure
Open a DMN decision table.
Click a cell in the Input column
Click Delete.
The input data is deleted.
Tip
Click F2 to open the dialog. Delete the input data and click OK.
output data.
You can enter output data in an Output cell.
Procedure
Open a DMN decision table.
Double-click a cell in the Output column.
Enter output data. Depending on the data types specified for this column, different data types or expressions are allowed.
Click OK.
You have entered output data.
Tip
Click F2 to open the dialog. Use the Tab key and the arrow keys to specify a data type. Make your entries and press Enter.
annotations.
You can enter a text in an Annotation cell.
Procedure
Open a DMN decision table.
Double-click a cell in the Annotations column.
Enter your annotation.
Click OK.
You have entered an annotation.
Tip
Click F2 to open the dialog. Make your entries and press Enter.
You have created a DMN decision table.
You have specified all expected parameters that are needed to fell a decision.