what is current.callerid in servicenow ?

gangasatishgurr
Kilo Expert

explain current operations in servicenow ?

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Ganga,



Current.caller_id will give you the sys_id of the field value populated. Current is the object with which you can get the field data on the current form.


View solution in original post

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Ganga,



Current.caller_id will give you the sys_id of the field value populated. Current is the object with which you can get the field data on the current form.


ayan_hc
Giga Contributor

Hi Ganga,



The current.caller_id gives you the current value that is there in the caller_id field. It is used in glide script.



You can take some from these below websites:


GlideSystem - ServiceNow Wiki


GlideRecord - ServiceNow Wiki



Hope it helps.



Regards,


Ayan


Kalaiarasan Pus
Giga Sage

Refer the wiki documentation about business rules. You will find the needed info there.


Shahed Shah1
Tera Guru

current is effectively a GlideRecord object of the record that you are currently viewing. Using the GlideRecord API you can retrieve and set field data of the current record.



More details about the GlideRecord API is available in the ServiceNow Wiki:


GlideRecord - ServiceNow Wiki



With reference to current.caller_id, caller_id is a field on the current record (e.g. a particular incident). So you can retrieve the value of the field, example:


var caller = current.caller_id; //get the value


current.caller_id = '<value>'; // set the value



Hope that helps