Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1656

DMN suggestions do not recognize duration expression

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.11.0.GA
    • Decision Central
    • None
    • Decision Central war
      VS Code extension

    • False
    • False
    • Release Notes
    • CR1
    • Undefined
    • 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.

    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

              yamer@redhat.com Yeser Amer
              rh-ee-jomarko Jozef Marko
              Jozef Marko Jozef Marko
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: