How to change the usename for attachment upload in the activity log?

PratikK098
Tera Contributor

Hi All,

        I have a requirement to change the username in the activity log for the user who has attached the attachment. I had tried to make changes in the sys_history_line table but unable to find the changes made for the attachment upload.

Is it possible to make change in the username for the attachment upload in servicenow? if yes could you please help me with it?

PratikK098_0-1724159238630.png


Thanks in advance.

3 REPLIES 3

Dnyaneshwaree
Mega Sage

Hello @PratikK098 ,

Please refer the below articles if useful:
https://www.servicenow.com/community/itsm-forum/is-there-workaround-to-update-the-name-in-activity-l...
https://www.servicenow.com/community/developer-forum/how-can-i-add-the-user-id-to-the-activity-log-s...


Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!

Dnyaneshwaree Satpute
Tera Guru

Hi @Dnyaneshwaree,

                                  Actually I just wanted to change the username for the user who has attached file to the record. I have checked but not working. Can you help me with it?

Sumanth16
Kilo Patron

Hi @PratikK098 ,

 

In order to update the name in the Activity log(Which is NOT all recommend by ServiceNow) I have followed below steps,

1. In the left Navigation sys_history_line.list

2. Updated the User, User ID and User Name.

3. By default write access is not allowed on History[sys_history_line], Need to deactivate write ACL on History[sys_history_line] prior to update and then reactivated it.

 

Mark this as Helpful / Accept the Solution if this helps

 

Thanks & Regards,
Sumanth Meda