Support Article
Function entrySatisfiesCondition error when run
SA-13997
Summary
The function entrySatisfiesCondition is not working. When you run it, it fails with the below error.
Error Messages
The reference .TestPageList(?).TestPageList().pyLabel is not valid. Reason: unexpected character '?' at position 14, expected subscript
Steps to Reproduce
Use below expression to do property-set
@(Pega-RULES:ExpressionEvaluators).entrySatisfiesCondition(.TestPageList(Local.vIndex).TestPageList().pyLabel, "=", test1, "ANY")
P.S. TestPageList is pagelist with class defination @baseclass
Root Cause
A defect in Pegasystems’ code or rules.
The expression parser, which is parsing the function is removing Local.vIndex and replacing it with '?'.
Resolution
HFix-23423 resolves the issue.
Published September 28, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.