How to get the current record's sys_id from a client script
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2008 04:41 PM
var sid = gel('sys_uniqueValue').value;
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2014 12:29 PM
This is the recommended way:
var sid = g_form.getUniqueValue();
Unique Record Identifier - ServiceNow Wiki