An InputData element is used to input into Decisions a set of values that originate outside the model. That set of values is used for evaluating Decisions. It derives its type and a set of values from an ItemDefinition.
InputData elements are created by dragging an icon from the Toolbox onto a DMN diagram.
The name of the InputData element must be unique and not duplicate the name of any other Decision, InputData, Business Knowledge Model, Decision Service, or Import in the decision model.
Referencing an ItemDefinition
The structure of the data, as well as sets of values for an InputData element, are defined in an ItemDefinition element. A DMN InputData element must be referenced (typed) by an ItemDefinition by either:
- Clicking on the icon on the DMN Expression window of the InputData element or
- Selecting the InputData element and pressing to select the ItemDefinition from the dialog
The properties of an InputData element are accessible via the DMN Expression window. Double-click on the InputData element to open this window.
The DMN Expression window provides a view of the data structure as well as access to Data Sets that can be used in simulations.