Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Decision table returns incorrect values for decimal parameters

SA-42039

Summary



Decision table returns incorrect values for decimal parameters.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create an activity with decimal parameters (such as, DiscountAmt and AlertAmt).
  2. Create a decision table with a condition using Param.DiscountAmt and the '<' operator.
  3. Set the value for this condition as Param.AlertAmt.
  4. Run the activity.


Root Cause



The decision table returns incorrect values even after the conditions are met, as the string comparison of parameters in the decision table are defined as decimals in the activity.

















Resolution



Redefine the decimal parameters in the decision table.


Suggest Edit

Published November 5, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us