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

Using BigDecimal with From Accumulate causes an "Error: argument type mismatch"

XMLWordPrintable

    • CR1
    • +
    • Hide
      1. Import the attached project
      2. Go to the project and do Build and Deploy
      3. Fire all rules using the following request:
        curl -X POST "http://localhost:8080/kie-server/services/rest/server/containers/instances/reproducer-02425606" -H "accept: application/json" -H "content-type: application/json" -d @request.json

      Where request.json is the file attached.

      Show
      Import the attached project Go to the project and do Build and Deploy Fire all rules using the following request: curl -X POST "http://localhost:8080/kie-server/services/rest/server/containers/instances/reproducer-02425606" -H "accept: application/json" -H "content-type: application/json" -d @request.json Where request.json is the file attached.
    • 2019 Week 29-31

      When written a rule that does a sum using ‘from accumulate’. The rule validates successfully. However, when trying to test it, is returned a very generic error message: Error: argument type mismatch.

        1. reproducer-02425606.zip
          57 kB
        2. request.json
          0.5 kB
        3. testSum.scenario
          2 kB

              lmolteni@redhat.com Luca Molteni
              rhn-support-roribeiro Rodrigo Ribeiro (Inactive)
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: