Managing input- and output data for DMN Data Input elements¶
The Signavio Dictionary enables you to manage the objects of your business process landscape.
A detailed description of the Signavio dictionary can be found under Terms management with the Dictionary.
Specifically for DMN, the Dictionary implements extended functionality for the management of input data and output objects.
In order to enable input/output data management with the dictionary, open the Signavio Explorer and click Setup, then Define notations/attributes in the top drop-down menu.
Open the notation/attribute management dialog.
Switch to the Dictionary tab and create a new category (click Add category). The category needs to have the check box Use for data modeling activated (you can also activate this check box when editing an existing category):
Add a new category and activate the check box ‘Use for data modeling’.
Now you can create data input/output objects in the Dictionary.
In order to do so, open the Dictionary (the last item in the Explorer’s folder tree):
Open the Dictionary.
In the dictionary, select a category that supports data modeling and click New entry:
Select a dictionary category and click ‘New entry’.
In the following dialog, you can label and describe the data object:
It is important to define the Type Definition of the data input:
Choose the type definition.
- A Simple Type can be an enumeration of values, plain text, a number or a Boolean value:
a ‘Simple Type’ definition
Complex Type allows you to reference one or several dictionary items and to add simple data types like plain text, numbers, Booleans or enumerations.
To reference a dictionary item, fill in a label for the reference, start typing the entry’s name into the corresponding field and select a suggestion from the list:
Reference a dictionary item as part of a ‘Complex Type’ definition.
To add a simple data type, fill in a label for the type, click the + icon next to the second column and select a data type from the list:
Create a local type as part of a ‘Complex Type’ definition.
Not specified allows you to specify the data type in the DMN Editor.
Click Create to create the specified data object:
Now, you can reference the newly created data input in decision tables and data input elements:
Reference a dictionary entry in a decision table.
You can also add input data from a DMN diagram to the dictionary.
Simply select the element and click the Dictionary item in the lower left corner of the element:
Create a dictionary entry based on the data input element.
Select the correct category (make sure to use a category that supports DMN data modeling) and click Create:
Now, the data input is saved in the Dictionary and can be re-used in the Editor. When labeling a data input element, automatic suggestions will help modelers with re-using already existent data inputs:
Reference an existing data object.