Skip to content

Instantly share code, notes, and snippets.

@wave-inguane
Created Aug 3, 2021
Embed
What would you like to do?
GlideRecord
var queryString = "priority=1^ORpriority=2";
var now_GR = new GlideRecord('incident');
now_GR.addEncodedQuery(queryString);
now_GR.query();
while (now_GR.next()) {
gs.addInfoMessage(now_GR.getValue('number'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment