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

dmn.new Run sidepanel forces Any=String

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Authoring Tooling
    • None
    • False
    • False

    Description

      If an InputData node is set to FEEL:Any type,
      the dmn.new sidepanel forces the input to be treated always a string.

      This is a strong approximation, and would be very meaningful the payload sent to the jir runner to be a number if the input provided can be parsed as a JSON number.

      For extra, same concept if the string is a valid Date / DateTime / Time JSON string format, but that would be a plus. Having it working for JSON number should be trivial.

      This enable cases where the user forgot to make explicit decision about the InputData node, but still can test it and may be baffled by the result, very strange UX as in:

      Attaching simple DMN model example: new-file (36).dmn

      Attachments

        Activity

          People

            tfernand-1 Tiago Bento
            mmortari@redhat.com Matteo Mortari
            Dominik Hanak Dominik Hanak
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: