Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

@IsInPageList does not work in a When rule

SA-13776

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 Applicable


Steps 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us