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

DMN suggestions do not recognize date expression

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major 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 date expression and see the suggestions.

      Show
      Open a DMN editor Add a decision node Set its expression as 'Literal expression' Type date expression and see the suggestions.

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

      The drools documentation [1] refers to date expression

      date(date and time( "2012-12-25T11:00:00Z" ))
      

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

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

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

                Created:
                Updated:
                Resolved: