How to update record as other user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2022 05:17 AM
I have 100 incidents to close using background script. How can I update and close these incidents as other user

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2022 05:32 AM
Hello @Shalika
You want to update the incidents as system user or any other specific user?
for system user, there are multiple ways to do so using script. One simple way would be to create a one time running flow designer and set run as system user. In flow, you can query incident records and update the incidents without writing single line of code.
Thank you,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2022 06:03 AM
Hii,
I do not want it to update it for system user.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2022 06:56 AM
Hello, Then you have to create on-demand scheduled job and set run as user to set different user name.
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2022 05:40 AM
You can write scheduled job and add Run as user with another user.
Regards,
Abhijit
ServiceNow MVP