closed incident showing users name instead of system servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 10:21 AM
Hi Community,
I'm using a scheduled job to check the resolved incidents and close them after 5 weekdays with this code

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 05:04 AM
@TarunChowdary , @Edxavier Robert is correct. I have added the field to my form view, or you can do it from a list view, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2025 07:00 PM
Yes, it's possible to prevent your name from being updated and instead set the sys_updated_by field (which tracks the user who last updated the record) to "system" or some other user, like admin, when updating the record.
// Set sys_updated_by to "system" or another user
inc.sys_updated_by = 'system';
// Or replace 'system' with any other user (e.g., 'admin')