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

Property-Ref method issue

SA-22959

Summary



User reported that Property-Ref method is utilizing CPU intensively.
Clipboard size is growing when property reference is used.
HasMessages has poor performance on heavier clipboard pages.

Error Messages



Not Applicable.

Steps to Reproduce

Use Page-Clear-Message and Property-Ref methods.


Root Cause



hasMessages() API is taking lot of time because of  auto-populate chaining.

Refer below article for more details:

https://pdn.pega.com/support-articles/hasmessages-api-call-recalculateandsave-increases-cpu-usage

Resolution



Apply HFix-27388 to resolve the issue.

Hotfix includes the following changes:

1. Added a new DSS flag disableAutoPopulateForHasMessages
2. In recalculateAndSave activity disabled autopopulate while calling hasMessages() and restore the previous value again after that based on the above flag. 
3. Changed the hasMessages RUF to disable autopopulate and restore after that based on the above flag.
For the hotfix to take effect, create a DSS with name 'disableAutoPopulateForHasMessages' in 'Pega-RULES' ruleset and set it to 'true'.

 

Published August 1, 2016 - 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