The 'get' method is used to return first record in the result set.
Boolean values based on the result. Example 1: var grIncident=new GlideRecord('incident'); if(grIncident.get('sys_id')){ gs.print('Incident exist'); }
What is the use of get method in Glide record?
Working Code Edited question December 16, 2023