Support Article
@IsInPageList does not work in a When rule
Summary
After installing HFix-23229 in Pega 7.1.7, some of the When rules do not evaluate correctly, in deprecated icon control. Though it should evaluate to true, as the value exists in Clipboard on runtime, icon does not display.Error Messages
Not ApplicableSteps to Reproduce
Install HFix-23229 in Pega 7.1.7, configure a When rule in a deprecated icon control.
For example, there is a When rule where expression is as below:
@IsInPageList(<value>,<property>,<pagelist>)Root Cause
The root cause of this issue is an issue with pzAuto.handleEvaluateWhen API which is used in the old icon generation code.Resolution
Install HFix-23588 which modifies the code to use pzAuto.evaluateWhen API instead of pzAuto.handleEvaluateWhen API.
After installing HFix-23588, Open GenerateButton RUF and click Generate library button (to regenerate Harness Library) and re-save the Sections or delete PegaRULES_Extract_Marker file from Pega temporary directory and restart the server (if there are many Sections to re-save).
Published September 10, 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.