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:

- name of the agent that cleans up

- how long data stays in a system



Keep up to date on this post and subscribe to comments

July 9, 2018 - 12:30pm

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.

July 9, 2018 - 9:08pm

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. 

Owing ruleset: Pega-Engine

DSS purpose: prconfig/initialization/persistrequestor/contentExpiryThreshold/default 

Value: 36000 (in seconds)

<env name="initialization/persistrequestor/contentExpiryThreshold" value="36000" /> (in seconds)



February 26, 2019 - 1:19am
Response to SusanLiu

Hi SusanLiu,  

What happen if we didn't create the DSS and configure the value <env name="initialization/persistrequestor/contentExpiryThreshold" value="36000" />.

Will it be stored permanently in DB?.  

February 26, 2019 - 12:32pm

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.

November 22, 2019 - 6:06am
Response to SusanLiu

Hi @SusanLiu,

We are using Pega version 7.4. Do you think Pega has chnaged how the Requestor clean up works?

As, the Agent SystemCleaner does not exist in the PegaRULES Agent rule. Please provide info.