Query on Node Level Data page

How to flush the node level data pages in higher environments what is the best approach?

@SivaramireddyT2951

Node level datapage can be flushed using two ways :

  1. Call activity FlushDeclarativePage with with flushall option selected.

  2. or u can Use function @(Pega-RULES:DeclarePages).pzDeleteAllInstancesOfDeclarativePage(tools, “D_YourDataPageName”) to flush your data page.

@SivaramireddyT2951

We can usually flush the data page manually in higher environments and another approach is using Pega API also you can flush the data page on a particular node.

HI @SivaramireddyT2951 ,

Instead of using the ‘activity’ method, we can utilize data transforms. There is an ootb data transform called ‘pxClearAllInstancesOfDataPage’ that requires the data page name as a parameter.