How to use autosysfields(false)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2020 04:04 AM
How to use autosysfields(false) for the records updating via glidesysattachment.copy method.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2020 09:55 PM
Hello Santosh,
autosysfields() is a method of GlideRecord API. It is used if you don't want to update system fields like(created, created by, updated, updated by, updates, sys id) through scripting, then you can make autosysfields(false).
By default system fields are read-only so you cannot make any changes on form and list view. ServiceNow already written OOTB ACL on it. But through scripting you can change value in it. So to avoid changes from scripting on system fields, you can use autosysfields(false) method.
Regards,
Harshal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2025 03:59 AM
I am using this script to update a short description for an incident, it does the job of not updating the updated by field when I see it in listed view, but when I go for incident history it shows my name. Why is that so?