Created
January 21, 2020 17:59
-
-
Save eduglez/dab3171ad216417d290691df0c813f71 to your computer and use it in GitHub Desktop.
Gets ServiceNow server object properties
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 category2 = new GlideHTTPResponse(); | |
gs.print(typeof GlideHTTPResponse); | |
gs.print(typeof category2); | |
var output = ''; | |
var property; | |
for (property in category2) { | |
try{ | |
output += property + ': ' + category2[property]+'; \n'; | |
}catch(err){ | |
output += property + ':' + ' NO CONSTRUCTOR'; | |
} | |
} | |
gs.print(output); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment