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

Upper case TRUE is working in Pega 6 but not in Pega 7

SA-38775

Summary



A user has a When rule in which they used "TRUE = true" as a condition. When this is run it returns false in the Pega 7 series, whereas, in the prior Pega 6.2 version it returned true.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a When rule with the "TRUE" = "true" condition.
  2. Run the When rule from Designer Studio.
  3. Observe in Pega 7 it returns false.


Root Cause



A defect in Pegasystems’ code or rules. In the Pega 6 series, loose casing of boolean values was not detected; whereas, in the Pega 7 series this was updated to more tightly align to java's handling of boolean values.

Resolution



Perform the following local-change:
Update all targeted boolean values to the lower case text versions:
TRUE -> true
FALSE-> false

Published June 9, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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