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.
-
Click
.
The
Purge Asset Versions wizard appears.
-
Click
Next.
-
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.
-
If you have selected to purge multiple assets of a specific type, perform the following actions:
-
Check the asset types from which you want to purge asset versions.
-
Check the projects from which you want to purge versions of the selected asset types.
-
If you have selected to purge individual assets, perform the following actions:
-
In the projects tree, expand the project node which contains the assets from which you want to purge versions.
-
Click the asset type.
-
Check the individual assets from the list.
-
Optional: To persist the projects that are selected in the
Purge Asset Versions wizard, set the
Restore Selected Projects in Purge Asset Versions option.
-
Click
in the menu.
-
In the
Options menu tree, select
.
-
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.
-
Click
Next.
-
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.
-
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.
-
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.
-
Click
Next.
The
Purge Asset Versions wizard shows a summary of the asset versions that are going to be deleted.
-
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.
-
Click
Finish.