Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5432

Context data type doesn't work on some cases on DMN Runner

XMLWordPrintable

    • False
    • False
    • Undefined
    • Hide
      1. Open the attached in the online editor
      2. Try to evaluate JSON: {"a": time(1,0,0)}

        - null returned

      3. Try to evaluate JSON: {"a": {"aa":1}} - works fine
      4. Try to evaluate JSON: {"a": {"aa": {"aaa":1}

        }} - doesn't work

      Show
      Open the attached in the online editor Try to evaluate JSON: {"a": time(1,0,0)} - null returned Try to evaluate JSON: {"a": {"aa":1}} - works fine Try to evaluate JSON: {"a": {"aa": {"aaa":1} }} - doesn't work

      DMN Runner forms work fine with DMN context data type, if that contains standard data types like: string, number, boolean

      However if DMN context entries are non of these mentioned above types, then some issues appears.

        1. new-file (1).dmn
          3 kB
          Jozef Marko
        2. Screenshot from 2021-06-28 08-24-12.png
          88 kB
          Jozef Marko
        3. Screenshot from 2021-06-28 08-24-24.png
          70 kB
          Jozef Marko

              eignatow Eder Ignatowicz
              rh-ee-jomarko Jozef Marko
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: