We have written a rule that does a sum using ‘from accumulate’. The rule validates successfully. However, when we try to test it, we can a very generic error message. When we run it as a scenario test through Postman, we get an error message indicating there is a type mismatch but we don’t understand why. I've attached a document with the error messages. We don't get an error if we use ‘There is a Number’ instead of ‘There is a BigDecimal’. The only problem is that instead of the sum coming out to 160.88, it comes out to 160.8799999999999954525264911353588.
- Red Hat Process Automation Manager (RHPAM) 7.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.