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

[DMN Designer] suggestions for negated boolean 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'

      Compare the attachments. Both should suggest in same was as false expression.

      Show
      Open a DMN editor Add a decision node Set its expression as 'Literal expression' Compare the attachments. Both should suggest in same was as false expression.

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

      Suggestions check typed expression type and list firstly functions with matching return type. So for example for an expression `1 + ` we suggest first functions returning numbers and then the rest.

      The issue is for negated boolean expressions.

      false
      

      offers different suggestions, than

      not false
      

        1. false-suggestions.png
          155 kB
          Jozef Marko
        2. not-false-suggestions.png
          153 kB
          Jozef Marko

            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: