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
    • Resolution: Done
    • Major
    • 7.7.0.GA
    • 7.5.1.GA
    • BRE
    • Release Notes
    • CR1
    • +
    • 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
    • Hide

      run attached reproducer by mvn clean test

      Show
      run attached reproducer by mvn clean test
    • 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
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: