Enable archiving in Guidewire PolicyCenter
Procedure
-
In PolicyCenter Studio, navigate to the following location and open file config.xml for editing:
-
Locate configuration parameter ArchiveEnabled and set its value to
true.<param name="ArchiveEnabled" value="true"/>Warning: After you setArchiveEnabledtotrueand start the server, you cannot change the value of this parameter again. If you reset the value tofalse, the server does not start. -
Navigate to the following location and open file scheduler-config.xml for editing:
-
Locate and uncomment the Archive-related code blocks
<ProcessSchedule process="ArchivePolicyTerm"> <CronSchedule dayofmonth="1" hours="1"/> </ProcessSchedule> <ProcessSchedule process="RestorePolicyTerm"> <CronSchedule hours="1" minutes="30"/> </ProcessSchedule>Guidewire comments out these code block in the base configuration version of this file. To make the archiving schedules active, you must uncomment the code blocks by removing the
<!--and-->tags that surround the code block. -
Navigate to the following location and open file work-queue.xml for editing:
-
Ensure that the number of writer
instancesis adequate for your PolicyCenter installation.<work-queue workQueueClass="com.guidewire.pc.domain.archive.ArchivePolicyTermWorkQueue" progressinterval="600000"> <worker instances="10"/> </work-queue> <work-queue workQueueClass="com.guidewire.pc.domain.archive.RestorePolicyTermWorkQueue" progressinterval="600000"> <worker instances="10"/> </work-queue> -
Review the default implementations of the following archive plugin interfaces:
Modify and update the plugin implementations to meet your business needs.
- Save your work.
- Rebuild and redeploy Guidewire PolicyCenter for your configuration changes to take effect.
What to do next
See also
