Support Article
Clearing declarative page cache on SMA does nothing
SA-20344
Summary
In the System Management Application (SMA), clearing the declarative page cache does nothing if there are node level parameterized data pages. No data pages are cleared and there is no error or message when the cache clear button is clicked.
Error Messages
Not applicable.
Steps to Reproduce
In the SMA, in Advanced > Declarative Page Cache Management, click “Clear” on entire cache.
Root Cause
A defect in Pegasystems’ code or rules. The SMA does not read the pzInsKey it needs to clear the data pages.
Resolution
This issue is fixed in Pega 7.2.
In earlier versions, perform the following local-change:
- Use the function pzDeleteAllInstancesOfDeclarativePage, which takes input as the data page name and clears all parametrized instances of the data page.
- To clear all data pages at once, write an activity that loops pzDeleteAllInstancesOfDeclarativePage over all data pages.
As the function is marked Pega-only, use the search string "old:pzDeleteAllInstancesOfDeclarativePage" to find it and copy it into an application ruleset.
Published March 1, 2016 - 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.