Workflow or FileWatcher Purge Examples

Note: You can initiate the purge workflow by placing a 0kb file in the incoming (<Relative>MQ_COMMON_DIR</Relative><URI>/Purge</URI>) directory.
Create incoming, done, and rejected directories under Purge and place a 0 kb file in the incoming directory.
Deleting Record Versions for All Repositories and Enterprises
Specify in Filwatcher Expected Output
  • RetentionUOM as MONTH
  • RetentionUnits as 1
  • DeleteRecordVersions to Yes
  • VersionToRetain as 7
Purge Workflow is initiated for deletion of record versions across all repositories and across all enterprises.

If VersionsToRetain is not specified, only 3 versions are retained.

Deleting Record Versions for All repositories and for a Specific Enterprise.
Specify in Filwatcher Expected Output
  • RetentionUOM as MONTH
  • RetentionUnits as 1
  • DeleteRecordVersions to Yes
  • VersionToRetain as 7
Purge Workflow is initiated for deletion of record versions for all repositories in the specified enterprise.

If VersionsToRetain is not specified, only 3 versions are retained.

Deleting Record Versions for a Specific Repository and Enterprise
Specify in Filwatcher Expected Output
  • RetentionUOM as MONTH
  • RetentionUnits as 1
  • DeleteRecordVersions to Yes
  • VersionToRetain as 7
  • Repository name as mentioned in Repository specify purge, refer to Repository Specific Purge.
Purge Workflow is initiated for deletion of record versions for a specific repository in the specified enterprise.

If VersionsToRetain is not specified, only 3 versions are retained.

If more than one repository is specified an error is displayed.

Deleting History for All Enterprises
Specify in Filwatcher Expected Output
  • RetentionUOM as MONTH
  • RetentionUnits as 1
  • DeleteRecordVersions to No.
  • PurgeEnterpriseOption as ALL
Purge Workflow is initiated for deletion of history across all enterprises. Any associated file is also deleted.
Deleting History for a Specific Enterprise
Specify in Filwatcher Expected Output
  • RetentionUOM as MONTH
  • RetentionUnits as 1
  • DeleteRecordVersions to No.
Purge Workflow is initiated for deletion of history in the specified enterprise.