Get a Single Record in ServiceNow
Here is a super simple way to get a single record in ServiceNow using its table name and its sys ID.

Here is a super simple way to get a single record in ServiceNow using its table name and its sys ID.
var gr = new GlideRecord('table_name');
var grExists = gr.get('sys_id');
if(grExists){
gs.log(gr.getUniqueValue());
}