Purging specific activities or entries from the trash
Use an administrative command to permanently delete a specific activity or entry by removing it from the Trash view.
Before you begin
To run administrative commands, you must use the wsadmin client. See Starting the wsadmin client for details.
Procedure
- Start the Activities Jython
script interpreter.
- Get a list of the
activities and entries currently in the
Trash view by entering the following command:
TrashCollectionService.fetchTrash()
- Identify the activity or entry that you want to delete from the returned list. See Narrowing down results for more information.
- Enter the following command
to delete the activity or entry:
where you specify the activity or entry that you want to delete as the trashVector parameter.TrashCollectionService.purgeTrash( java.util.Vector trashVector)