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

in evaluators for type Double does not work with executable model

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 7.5.1.GA
    • 7.7.0.GA
    • BRE
    • CR1
    • Hide

      run attached reproducer by mvn clean test

      Show
      run attached reproducer by mvn clean test
    • Hide

      modify problematic in evaluator like

      f : Fact( doubleVal in ( 100.0, 200.0, 300.0 ) )

      i.e. use double value expression instead of int value expression

      Show
      modify problematic in evaluator like f : Fact( doubleVal in ( 100.0, 200.0, 300.0 ) ) i.e. use double value expression instead of int value expression
    • Release Notes
    • 2020 Week 01-03 (from Dec 30)
    • +

    Description

      The constraint like the following does not match when using executable model.

      rule "Double nnn"
          when
              f : Fact( doubleVal in ( 100, 200, 300 ) )
          then
             ...
      end
      

      This rule can fire if executable model is not used.

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              rhn-support-hmiura Hiroko Miura
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: