Is there workaround to update the name in Activity Log?

Abdul Basha Sye
Kilo Guru

I need to update the name captured in Activity log for some of records in ServiceNow due to business requirements.

I have checked in sys_audit table and update User field but no luck and I am unable find records in sys_history_line table.

Could you please let me know in case of any workaround /suggestions?

find_real_file.png

Thanks,

Abdul

 

 

1 ACCEPTED SOLUTION

Thanks for the hint Ankur.

It was helped in the workaround.

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.

Thanks,

Abdul

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

even if it's possible I would suggest to avoid that.

Usually it shows the name of the user who is responsible for the update

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thanks for the response Ankur.

I agree with you but as per the business requirements, We have to update it for couple records only once.

Looking for a workaround for it.

Thanks,

Abdul

Hi,

then you can try to change sys_created_by or sys_updated_by on history line table

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thanks for the hint Ankur.

It was helped in the workaround.

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.

Thanks,

Abdul