Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6209

[DMN] FEEL client-side - IntelliSense - Suggestions do not recognize duration expression

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.52.0.Final
    • DMN Editor
    • None
    • Hide
      1. Open a DMN editor
      2. Add a decision node
      3. Set its expression as 'Literal expression'

      Type expression as attached and see the suggestions. Currently we suggest string returning functions. We should suggest functions returning duration.

      Show
      Open a DMN editor Add a decision node Set its expression as 'Literal expression' Type expression as attached and see the suggestions. Currently we suggest string returning functions. We should suggest functions returning duration.
    • Undefined
    • NEW
    • NEW

    Description

      The issue is related to DMN suggestions enhanced as part of BAPL-1716.

      The drools documentation [1] refers to duration expression

      date( "2012-12-25" ) - date( "2012-12-24" )

      however our editor suggest functions returning string, instead of functions returning duration.

      [1]
      https://docs.jboss.org/drools/release/7.51.0.Final/drools-docs/html_single/index.html#ref-dmn-feel-builtin-functions_dmn-models

      Attachments

        Issue Links

          Activity

            People

              trikkola Toni Rikkola
              rh-ee-jomarko Jozef Marko
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: