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

Unable to use primary keyword in a When rule during comparison



Unable to use primary keyword in a When rule during comparison.

Error Messages

Not Applicable

Steps to Reproduce

Create a When rule with the below condition:
Compare two values with primary.intprop and .decprop with same values.

Root Cause

A defect in Pegasystems’ code or rules. The When rule generation causes an issue where the primary page context is fetched incorrectly. This leads to another issue where 2 and 2.0 are compared as strings.


This issue was reported as a bug to be remediated in Pega 8.3.1, Pega 8.3.2 and Pega 8.4 patch releases.



Suggest Edit

Published January 14, 2020 - Updated December 2, 2021

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