Clean Up PurgedRootInfo work queue

Code

CleanupPurgedRootInfo

Categories

Schedulable, UIRunnable

Implementation

Work queue

Schedule

Not scheduled

Class

PurgeOldPurgedRootInfoWorkQueue.gs

When purging a Contact, Account, Policy, PolicyTerm, or PolicyPeriod, PolicyCenter adds a PersonalDataPurge event and adds a corresponding PurgedRootInfo entity. Guidewire DataHub can then extract the data from PurgedRootInfo.

The CleanupPurgedRootInfo work queue removes PurgedRootInfo entities whose PurgeType is PersonalData. For the work queue to consider an entity for clean up, the entity must have a purge date older than the number of days specified in the configuration parameter KeepPurgedRootForDays. The default value of this parameter is 180 days.

By default, Guidewire comments out the entry for this work queue in file scheduler-config.xml in the base configuration. To schedule this work queue, remove the comment marks from around its entry in scheduler-config.xml.