Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11184 Add support for full FEEL 1.2 feature set
  3. CAM-11314

In DMN Engine, output rules & literal expressions typed with date should return Java util date

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.13.0, 7.13.0-alpha2
    • 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

        This is the controller panel for Smart Panels app

              nikola.koevski Nikola Koevski
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: