Purging temporary policy period data

Purge Temporary Policy Periods batch processing removes PolicyPeriod objects with a status of Temporary from the PolicyCenter database. Whenever you start a new policy transaction (job) or create a new policy revision, PolicyCenter creates a PolicyPeriod object. For a short amount of time during object initialization, the policy period has a status of Temporary. If an error occurs during initialization of the job or policy period, it is possible for the policy period to remain in the PolicyCenter database with a status of Temporary.

Guidewire disables Purge Temporary Policy Periods batch processing in the base configuration. To enable this batch process, set configuration parameter PurgeTemporaryPolicyPeriodsEnabled to true.

Configuration parameter PurgeTemporaryPolicyPeriodsAfterDays specifies the length of time to retain the temporary object before deletion. By default, Guidewire sets the value of PurgeTemporaryPolicyPeriodsAfterDays to 14 days.

PolicyCenter does not schedules the PurgeTemporaryPolicyPeriods work queue in the base configuration. You must either run this process manually or add the work queue to file scheduler-config.xml.

It is possible to launch Purge Temporary Policy Periods work batch processing from within PolicyCenter, or, directly from a command prompt.

PolicyCenter

Navigate to the Server Tools Batch Process Info screen and run the Purge Temporary Policy Periods batch process.

Command prompt

Launch the Purge Temporary Policy Periods work queue from the PolicyCenter/admin/bin directory with the following command:
  • maintenance_tools -password password -startprocess PurgeTemporaryPolicyPeriods

The PolicyCenter administration command prompt tools all require that you enter the password of an administrative user for the tool to work. The use of a user name is optional.

See also