How to use Reported By userid/login name in archive and purge rule?

Document ID : KB000024377
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

Based on userid how to define Archive and Purge rule.


Background:

How to remove request from call request table which are created by a specific user id?


Environment:

CA Service Desk Manager 12.9

Instructions:

Step 1 : Login to ServiceDesk as an Administrator.

Step 2 : Click on the Administration Tab.

Step 3 : Expand Archive and Purge -> Select Archive and Purge Rules.

Step 4 : Click on the Create New button to create a new rule.

Step 5 : To archive and purge based on a particular Reported By userid then in the Additional query field enter
         log_agent.userid = \'Administrator\'

Step 6 : Save and run the rule.

This will archive and purge the requests based on the query specified.