Posted: 9 Jul 2018 12:17 EDT Last activity: 22 Nov 2019 6:06 EST
When is passivation data cleaned up
After user's certain period of time being inactive, clipboard contents are saved into a file or database depending on settings ("passivation"). My question is how long does this saved passivation data stay in a file or database? Forever? or does any agent clean up after a couple of days? If clean up, could somebody let me know:
Passivation data stay in db/file system for 24 hours from the time it saved. A Pega ootb agent called - System clean up runs every day mid night (need to check exact time) to delete aged passivation data. Hope this answer your question.
SystemCleaner agent does the delete of expired passivated requestors data. As per the code, passivated requestor context data is deleted if older than 2 days. It can be controlled by the below DSS or prconfig setting.
If you did not create the DSS which contain any configuration for initialization/persistrequestor/contentExpiryThreshold, as long as the SystemCleaner agent is up and running, the default value is 1 day. You can use "contentExpiryThreshold" to change the default value.
In terms of the passivation data, it should be cleaned up if certain conditions are met. If you see old passivated requestors not cleaned up, you can create a SR to further investigate.