Question
Areteans
NZ
Last activity: 21 Dec 2019 22:52 EST
Flushing Requestor data page
Hello,
Once we have a requestor level data page that is loaded in multiple requestor sessions, in case of any changes to the data in this data page, how do we flush the data page on all the requestor sessions apart from server restart. Can anyone suggest how we can clear the data page on all active requestor sessions.
Any suggestions are appreciated.
Thanks,
Satish
***Moderator Edit-Vidyaranjan: Updated Platform Capability***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi Satish,
You can use 'Clear pages after non-use' option under load management tab so that the requestor scoped data page will be flushed when the last Thread that is referring to this (requestor) data page is deleted/removed.
Areteans
NZ
Thanks for the prompt response. Is there any way to flush them on demand as well for a particular user session who is using user portal.
Pegasystems Inc.
IN
in case of any changes to the data in this data page, how do we flush the data page on all the requestor sessions apart from server restart. --- This means you want to delete all the instances of the data page present in all the nodes. For this you can use below:
Use below function either in DT or Activity based on the when condition:
pega.getDeclarativePageUtils().deleteAllInstancesOfDeclarativePage(\"yourdatapagename\")
For a particular user session :
The Clear Data Page button in the load management tab, removes all the instances of the data page(scope - requestor level) from the current requestor. May be you can check what is being triggered on click of this button and then use the same.
Check the "Force Removal of Data Page" topic of this link:
https://community.pega.com/knowledgebase/pega-7-management-data-pages#single-use
Regards,
Vikash
Sberbank
RU
The link is not valid
Pegasystems Inc.
IN
Hi,
There is an OOTB activity pzflushdatapage.You can use this to clear a DP.
Thanks,
Abhinav
Atos Syntel
IN
I cannot find this in version 7.4 PE, can you let me know the class it belongs to ?
Areteans
NZ
Thanks for all the responses.
The issue was resolved after we used pzDeleteAllInstancesOfDeclarativePage function to flush the requestor level data page on all the nodes.