Blank value is being treated as false
When a blank value is compared to false, it fails the first time when the screen is loaded. This occurs when the 'Run Visibility condition on Client' is selected in Pega 7.3.1.
Dynamic layout visibility is set based on a text property value.
For example, (.pyDescription!='false')
When the property value is blank, the value is treated as false. This occurs only when the validation is run on the client side for the first time.
This works correctly once the condition is evaluated to true.
Steps to Reproduce
- Set the layout visibility based on the (.pyDescription!='false') expression.
- Define the expression as 'Display the layout when property value not equal to false'.
A defect in Pegasystems’ code or rules.
The issue was related to the expression evaluation in templating.
0% found this useful