March 2017
Beginner
358 pages
9h 51m
English
Here, we print out some data about the parent field on a given Incident record:
var gr = new GlideRecord('incident'); gr.get('46f09e75a9fe198100f4ffd8d366d17b'); var tableName = gr.parent.getReferenceTable(); var parentGR = gr.parent.getRefRecord(); gs.info('The Parent field references the ' + tableName + ' table, and currently contains the ' + parentGR.getDisplayValue() + ' record.');
Read now
Unlock full access