Source: Decision Management Solutions ( James Taylor)
Item Definitions can share constraints and these constraints are specified as unary tests. This allows definitions such as requiring a positive number ( >0) or restricting a field to a specific value ("high", "medium", "low").
However this requires enumerations to be strings and does not allow enumerations to be managed (sorted for instance). In addition, an enumerated list might be used for a set of Information Items but it must be repeated in Decision Tables when columns are meant to be restricted to the list of values.
DMN should allow for the creation and management of enumerations:
- Description (optional)
- List of enumerated values (optionally with a sort order)
These enumerations should be considered symbolic constants, not strings
FEEL functions should be created to:
Get the list of of allowed values for a specified enumeration
Check a value against an enumeration to see if it is an allowed value for that enumeration
Check the sort order of some specified values in the context of an enumeration
Decision Tables should be able to reference an enumeration by name in the value list row
Information Items should be able to be linked to an enumeration
Reported: DMN 1.1 — Thu, 26 Oct 2017 16:12 GMT
Updated: Thu, 29 Sep 2022 00:50 GMT