how to get the sys_id of caller in the incident table using client script

manojlakshmanas
Kilo Expert

i need to get the caller names sys_id in the incident from, using client script    

5 REPLIES 5

Mihir Mohanta
Kilo Sage

Use


var caller = g_form.getValue('caller_id');


alert(caller );



Thanks,


Mihir


let me know, how can we get caller sys_id by the business rule.

 

 

 

 

 

vant
Tera Expert

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');


srinivasthelu
Tera Guru

Hi Manoj,



It is straight forward.



g_form.getValue('caller_id')   //should give you what you are looking for.



Thanks


Srinivas