how to get the sys_id of caller in the incident table using client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2016 01:24 AM
i need to get the caller names sys_id in the incident from, using client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2016 01:29 AM
Use
var caller = g_form.getValue('caller_id');
alert(caller );
Thanks,
Mihir

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2020 09:15 AM
let me know, how can we get caller sys_id by the business rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2016 01:29 AM
If you simply just reference the field caller_id, it should give you the sys_id immediately. Do something like:
var CallerID = g_form.getValue('caller_id');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2016 01:29 AM
Hi Manoj,
It is straight forward.
g_form.getValue('caller_id') //should give you what you are looking for.
Thanks
Srinivas