Purging Asset Versions

Before trying to purge asset versions, ensure that your access level corresponds to the minimum access level that is required. To change the minimum access level in the global options, you require administrator rights. For additional information on changing the minimum access level, see Global Options.

  1. Click File > Purge Asset Versions. The Purge Asset Versions wizard appears.
  2. Click Next.
  3. Select how you would like to purge assets:
    • To purge multiple assets of a specific type, click Purge by Asset Type.
    • To purge individual assets, click Purge Individual Assets.
  4. If you have selected to purge multiple assets of a specific type, perform the following actions:
    1. Check the asset types from which you want to purge asset versions.
    2. Check the projects from which you want to purge versions of the selected asset types.
  5. If you have selected to purge individual assets, perform the following actions:
    1. In the projects tree, expand the project node which contains the assets from which you want to purge versions.
    2. Click the asset type.
    3. Check the individual assets from the list.
  6. Optional: To persist the projects that are selected in the Purge Asset Versions wizard, set the Restore Selected Projects in Purge Asset Versions option.
    1. Click Tools > Options in the menu.
    2. In the Options menu tree, select Global > Asset Management.
    3. Select Yes from the Restore Selected Projects in Purge Asset Versions list.
    When the option is set to No, no projects are selected when the Purge Asset Versions wizard opens.
  7. Click Next.
  8. Select whether you want to keep a specific amount of asset versions, or whether you want to delete all asset versions modified prior to a specific date.
  9. If you want to keep a specific amount of asset versions, specify the number of asset versions to keep. Asset version that are older than the selected number are deleted from the database. For example, if you select 2, the latest two versions of the asset are kept and the rest are deleted. The minimum number of versions you can keep is 1 and the maximum number of versions is 32767.
    Note: All actual checks are kept during purge and are deleted when results are deleted. Expected checks that are in use by results are also not deleted. After a purge, more expected checks that specified might be retained. For example, if 5 versions of an expected check are referenced by test results and you want to leave only 3 versions for each asset after the purge, all 5 versions of the check that are referenced by results are retained.
  10. If you want to delete all asset versions modified prior to a specific date, select a predefined date from the list or choose a custom date between 01-01-1970 and 12-31-3000.
    Note: All actual checks are kept during purge and are deleted when results are deleted. Expected checks that are in use by results are also not deleted. This might lead to situations where expected checks are retained which are older than the date you have specified.
  11. Click Next. The Purge Asset Versions wizard shows a summary of the asset versions that are going to be deleted.
  12. Click Next.
    Note: If an asset or multiple assets could not be purged, a message box will indicate the number of assets that could not be purged. This is usually due to another user having the current version of an asset opened or the asset has been deleted while the purge is occurring.
  13. Click Finish.