Purging workflow data

Purge Workflow batch processing deletes any completed workflow older than the specified number of days. The purge process deletes the following items:

  • All completed workflows older than the specified date
  • Any log messages associated with the deleted workflows
  • The workflow that performs the purging itself
Note: Deletion of the workflow is permanent.

This process uses Gosu class PurgeWorkflow, in conjunction with configuration parameter WorkflowPurgeDaysOld, to determine the number of days to retain a workflow before deletion. By default, Guidewire sets the value of WorkflowPurgeDaysOld to 60 days, the number of days since the last update to the workflow (the date the workflow completed).

In the base configuration, PolicyCenter schedules the PurgeWorkflows batch process to run on the first day of each month, at 1:30 a.m.

It is possible to launch the Purge Workflow batch process from within PolicyCenter, or, directly from a command prompt.

PolicyCenter

Navigate to the Server Tools Batch Process Info screen and run the Purge Workflow batch process.

Command prompt

Launch the Purge Workflows batch process from the PolicyCenter/admin/bin directory with the following command:

  maintenance_tools -password password -startprocess PurgeWorkflows

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