-
-
Save wave-inguane/3c084a3e4ddd9d86dacf6b77f6455d74 to your computer and use it in GitHub Desktop.
GlideRecord
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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