-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
Problem
- Scala FEEL Engine returns Java 8 Date/Time types
- The DMN Engine can only handle Java Util Date when typeRef=date
Solution
- Output Rule
- When <output typeRef="date" /> is used, a Java Util Date is returned
- Literal Expression
- When <variable typeRef="date" /> is used, a Java Util Date is returned
- Without a given typeRef (untyped), the value is directly passed from the FEEL to the DMN Engine without any type check/conversion
Hint
For the case that Java 8 Date/Time (or even Joda) is explicitly desired, CAM-11286 should be tackled to introduce new typeRef types