Upper case TRUE is working in Pega 6 but not in Pega 7
SummaryA 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 MessagesNot Applicable
Steps to Reproduce
- Create a When rule with the "TRUE" = "true" condition.
- Run the When rule from Designer Studio.
- Observe in Pega 7 it returns false.
Root CauseA 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.
ResolutionPerform the following local-change:
Update all targeted boolean values to the lower case text versions:
TRUE -> true
Published May 31, 2017 - Updated June 9, 2017