CA Service Management - Service Desk ManagerCA Service Desk Manager
Issue/Introduction
How to set up Audit Logs for a custom field?
Environment
Service Desk Manager 14.1 and 17.X All Supported Operating Systems
Resolution
In order to record audit logs when a custom field is updated, please follow the below steps. In this example, we use a custom column, "ztest01" added to the CR Object.
Launch Web Screen Painter and log into it using Service Desk Manager (SDM) Administrator account and launch Schema Designer.
In the Schema Designer, select the custom column, for example, "ztest01" and open 'Advanced' tab.
In the 'site-defined UI_INFO' field, type "AUDITLOG".
Go to 'File' > 'Save and Publish' and close Schema Designer and Web Screen Painter.
Stop the Service Desk Manager service and open the Command Prompt.
Run pdm_publish to take effect the change in Schema Designer.
Start the SDM service and log into SDM using SDM Administrator.
Open 'Administration' tab and go to 'Notifications' > 'Activity Notifications'.
Click on <Create New> button and create a new Activity Association for ztest01 column as per the following example. Ensure to turn on the "Log Me" check box.
Go to 'Options Manager' > 'Audit Log' and install the audit log options, "audit_upd" and "audit_ins", and restarted the SDM service.
Created a file auditlog_site.mod with the following content and store it under ..\site\mods folder.