How to update comments in RITM with a particular user name

Ajai S Nair
Giga Guru

Hi All,

In one of my service catalog item, I have an approval and then based on that user is getting added to servicenow groups. I have provided script to update comments field along with user addition. Now when ever user is added to groups, the work notes are updated with the approver's name. Is there a way way to change this and provide some default user name for adding this comments?

Regards,

Ajai

1 ACCEPTED SOLUTION

Finally found a solution.


Instead of current.comments , I queried the sc_req_item table and updated comments field using GlideRecord.


Now comments are updated with impersonated user.


View solution in original post

5 REPLIES 5

raves12
Kilo Sage

Hi Ajai,



Does my solution addresses your issue? If yes, please mark the answer as correct and close the thread. This will help future community visitors to this thread.