
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 08:04 PM
For what purpose we use sys_id=-1 and in which cases we use it. Please explain.....
Thanks in Advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2019 09:35 AM
Hello,
sys_id=-1 is used when you create a new record using the URL arguments. This is way to initialize a record as New one. You can check the OOB Create New module for Incident, It passes sys_id=-1

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2019 09:31 AM
Here is the few purposes of sys ids
https://docs.servicenow.com/bundle/london-platform-administration/page/administer/table-administration/concept/c_UniqueRecordIdentifier.html
https://developer.servicenow.com/blog.do?p=/post/exporting-data-with-sys-ids/
https://www.servicenowelite.com/blog/2014/5/19/finding-the-sysid-of-a-record
To find the unique records and to unique assign that group sys ids we can use for different purpose based on your requirements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2019 09:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2019 09:36 AM
Hi,
A sys_id of -1 is the sys_id of a new record. After the record is inserted, it is given a new sys_id.
for more information,follow the below link:
https://docs.servicenow.com/bundle/london-platform-administration/page/administer/table-administration/concept/c_UniqueRecordIdentifier.html
please mark it as correct/helpful,if you find it helpful.
Regards,
Ragini

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2019 12:32 PM
Can you mark answer correct and close the thread so it would not deleted from the unanswered list from the community .