How to update record as other user

Shalika
Tera Expert

I have 100 incidents to close using background script. How can I update and close these incidents as other user

7 REPLIES 7

Shalika
Tera Expert

I want to update from background script 

as suggested by Abhijit you can write On demand scheduled job ( you can run that Job once whenever you need it) 

What is exact problem running via scheduled job?

 

If you need it via background script then some workaround needs to be used.

e.g. you can modify updated by field via same script and use autoSysFields(false), so those will look like updated by some other user.

 

Please mark answer as Correct or Helpful based on impact.

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP