- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 04:04 AM
how to fetch sysid of current record?
Solved! Go to Solution.
- Labels:
-
Field Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 01:23 PM
Hi ,
You can open any record , and get the sys_id from header menu options ( as below )
If you are trying from some script using GlideRecord , you can get the sys_id of each record from object of GlideRecord ( see the sample code below )
gr.query();
gs.print(gr.sys_id);
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 01:18 PM
Please use below method to get sys_id of current record
In Client script
g_form.getUniqueValue();
In business rule
current.sys_id;
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 01:18 PM
Serverside: current.getUniqueValue();
ClientSide: g_form.getUniqueValue();
//Göran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 01:23 PM
Hi ,
You can open any record , and get the sys_id from header menu options ( as below )
If you are trying from some script using GlideRecord , you can get the sys_id of each record from object of GlideRecord ( see the sample code below )
gr.query();
gs.print(gr.sys_id);
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2018 09:21 PM