Insert Additional Comments as a different user

Jane14
Tera Contributor

Hi, Im trying to update an incident by adding additional comments, and the id of another user in the updated by field.  However, the updated by field keeps showing the 'integration account' id that we are using to call the API.  

PUT <instance>.service-now.com/api/now/table/incident/<incident id>?sysparm_suppress_auto_sys_field=true

We've set this - sysparm_suppress_auto_sys_field=true - but it doesnt help us override the update by id.

How can we override the updated by field and place another user's id in there?  Thanks.

 

 

3 REPLIES 3

SanjivMeher
Kilo Patron
Kilo Patron

I am not sure if thats possible.

You may have to add an additional text to you comments as - "<Updated By> says:" + <Additional Comments>, so that you know who updated it


Please mark this response as correct or helpful if it assisted you with your question.

Thanks.  But we need the name of the user reflected in the Updated field

find_real_file.png

Another option you can try is creating record in sys_history_line table, with UserName as the Updated By.


Please mark this response as correct or helpful if it assisted you with your question.