Home

 

Purge 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.


You do not need to check the configuration file in and out nor restart the server when using administrative commands.

To run administrative commands, use the wsadmin client. See Start wsadmin for details.


To permanently delete a specific activity or entry by purging it from the trash...

  1. Start the Activities Jython script interpreter.

    1. Access the Activities configuration file:

    2. Network deployment:

        execfile("profile_root/config/bin_lc_admin/activitiesAdmin.py")
        

      If prompted to specify which server to connect to, type 1.

      The information about which server to connect to is only used by wsadmin when you are running administrative commands to collect statistics.

  2. Get a list of the activities and entries currently in the Trash view by entering the following command:

      TrashCollectionService.fetchTrash()
      

  3. Identify the activity or entry that you want to delete from the returned list. See Narrowing down results for more information.

  4. Enter the following command to delete the activity or entry:

      TrashCollectionService.purgeTrash( java.util.Vector trashVector)
      

    where you specify the activity or entry that you want to delete as the trashVector parameter.


Manage trash

 

Related tasks

Start wsadmin

Narrowing down results


+

Search Tips   |   Advanced Search