Enable archiving in Guidewire PolicyCenter

Procedure

  1. In PolicyCenter Studio, navigate to the following location and open file config.xml for editing:
    • configuration > config
  2. Locate configuration parameter ArchiveEnabled and set its value to true.
    <param name="ArchiveEnabled" value="true"/>
    Warning: After you set ArchiveEnabled to true and start the server, you cannot change the value of this parameter again. If you reset the value to false, the server does not start.
  3. Navigate to the following location and open file scheduler-config.xml for editing:
    • configuration > config > scheduler
  4. 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.

  5. Navigate to the following location and open file work-queue.xml for editing:
    • configuration > config > workqueue
  6. Ensure that the number of writer instances is 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>
  7. Review the default implementations of the following archive plugin interfaces:
    • configuration > config > Plugins > registry > IArchiveSource
    • configuration > config > Plugins > registry > IPCArchivingPlugin

    Modify and update the plugin implementations to meet your business needs.

  8. Save your work.
  9. Rebuild and redeploy Guidewire PolicyCenter for your configuration changes to take effect.

What to do next

See also