This article will explain why Update attributes (Users or Dates) are not getting updated by Services such as Mail or Data import, and in the meantime give a trick to trace Services by using the Framework diagnostics and for instance visualise which SQL statement the service needed to run in the database.
Service Desk 2016
Requires Access To:
Service Desk Console
When importing data by using the Schedule Data Import or when creating process-oriented objects by mail, some attributes like "Update Date", "Update User", "Update Group" are not getting updated.
We update an existing incident by mail and the following attributes are not updated: "Last Update", "Last Updated By", "Update Group"
We update an existing asset by a schedule data import and the following attributes are not updated: "Last Update", "Last Updated User", "Update Group"
This is because your Data Import and Inbound Mail services use the user "System" to log on. The user "System" is a built-in system user whose the name cannot be change as the software uses it for specific purposes.
Do not get confused between the built-in user named "System" and the user type system to which the user "System" belongs.
It is recommended to use different system users for each services:
- Log on as SA to the Console
- Go to the administration component
- Under User Management, expand Users > System User and create a user for your service
- Go to the Configuration Center
- Stop your service
- Click on Edit (... the service)
- In the field "Logon to Service Desk as:", specify the new system user you just created
This configuration will also give you a more accurate diagnostic with logging as it will create one log file by day and by user. So in this example, if we want to monitor logs generated by the Data Import service (Database Access, Httprequests, etc.) we just need to get the logs generated by the user "DataImport".
As services require the Framework application to run, you must enable the relevant diagnostics on the Framework application, not Web Access
To learn how to enable diagnostics and use them please refer to the following article: Diagnostic logging using Configuration Center