Property-Exist is true for non-existing embedded page property
SummaryAfter upgrading from PRPC 6.2 to Pega 7.2 the Property-Exist function is returning true for properties which do not exist.
Error MessagesNot Applicable
Steps to Reproduce
- Create an Activity.
- In the first step's precondition, check the value of an embedded page property, that does not exist on clipboard, with a condition.
- In the next step's precondition, check the value of the same embedded page property using Property-Exist function.
- Observe that the Property-Exist condition evaluates to true.
Root CauseAn issue in the custom application code or rules.
This behavior of When rules was changed in the Pega 7 series, a When rule will create the property if it does not exist.
ResolutionPerform the following local-change:
An implementation change is necessary to accommodate the updated behavior.
In this above described scenario for example, if one switched the pre-conditions.order both would report their targeted values.
Published February 22, 2017 - Updated March 20, 2017