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.

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.6.0.GA
    • Fix Version/s: 7.8.0.GA
    • Component/s: BRE
    • Labels:

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tkobayashi Toshiya Kobayashi
                  Reporter:
                  abhumbe Abhijit Humbe
                  Tester:
                  Daniel Rosa
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: