...
https://<instance_url>/record/change_request/158157795510045066
Has a sys_id equal to '158157795510045066'. 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.
Getting the sys_id from the script
The sys_id can be retrieved not only manually, but using scripting, too.
- The sys_id of the record can be found by a server-side JavaScript scenario (like business rule) from the SimpleRecord:
Code Block |
---|
var id = current.sys_id; |
- The sys_id of a record can be found in client-side JavaScript using SimpleForm#s_form.getUniqueValue() method.