Source: Trisotech ( Denis Gagne)
DMN ItemDefinitions metamodel (section 7.3.3) specifies that the allowedValues of a collection attribute are projected to its elements which prevents us from constraining collections.
- The collection size needs to be between 1-5 elements
- The collection can’t contain duplicates
Our proposal is to add an additional attribute to ItemDefinition named collectionAllowedValues to capture these constraints.
Reported: DMN 1.4b1 — Fri, 2 Dec 2022 14:23 GMT
Updated: Tue, 28 Mar 2023 17:39 GMT
DMN15 — Allowed Values for collection item definitions
- Key: DMN15-137
- OMG Task Force: Decision Model and Notation 1.5 RTF