Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Each record in the instance is identified with a unique 18-character ID called a sys_id. The same
Record ID cannot be generated twice; this ensures that every record in every table has a unique identifier. The only way when two records can have the same sys_id value is the instance cloning; when created within the application or the instance, the sys_id's cannot overlapmust be unique within the same table (including records in parent/child tables).
Record ID value cannot be changed.

How to get a record ID

...

The record ID can be obtained in several ways, manually and automatically (via API).

...

The record sys_id is always a part of the URL that leads to this record; so you can retrieve the sys_id from the URL.

For example, a Change Request an article record with the following URL:

https://<instance_url>/record/change_request/158157795510045066article/158815469913225806?menu_id=155964310500000240

Has a sys_id equal to '158157795510045066158815469913225806'. It can be obtained either from a browser address bar or by copying the URL of the item at the navigation panel or on the list view.

...

  • The sys_id of the record can be found by a server-side JavaScript scenario script (like business rule) from the SimpleRecord object:
Code Block
var id = ss.addInfoMessage(current.sys_id);