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

Different values in response after rule execution in BRMS 6.4.11 and RHDM 7.4.1 relase.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.8.0.GA
    • 7.6.0.GA
    • BRE
    • 2020 Week 07-09 (from Feb 10), 2020 Week 10-12 (from Mar 2)

      I have rule like as:

      =========
      rule "My Rule"
      no-loop true
      dialect "mvel"
      when
      $info : MyInfo()
      then
      modify ($info)

      { setResult(15 * Math.round( new BigDecimal("49.4") ) / 100 ) }

      end
      =========

      If I exeucte this rule in BRMS 6.4.x release, I will get 7.35 in the reponse . But if I execute same rule in RHDM 7.4.+ release I will 7 in the response.

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-abhumbe Abhijit Humbe
              Daniel Rosa Daniel Rosa
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: