March 2017
Beginner
358 pages
9h 51m
English
The following snippet checks if a specified Incident isn't assigned to anyone. If it's not assigned, the script logs a message:
var gr = new GlideRecord('incident'); gr.get('46f09e75a9fe198100f4ffd8d366d17b'); if (gr.assigned_to.nil()) { gs.info('Please assign ' + gr.getValue('number') + ' to a user.'); }
Read now
Unlock full access