Please use for the latest documentation.

This site is for reference purposes only and may not be accurate for the latest ServiceNow version

JavaScript Tools Script Includes Reference

From Wiki Archive
Jump to: navigation, search


This page provides reference information on the JavaScript Tools script includes. For general information on how to use script includes, see Script Includes.

Script Include Description
Class Include class to pull in prototype server if referenced.
GenericException Provides generic exception wrapping.
GSLog Implements levels of log output to simplify logging and debugging from JavaScript.
IllegalArgumentException Provides exception wrapping for a specified illegal argument. This class extends GenericException.
isJavaObject Determines if a given value is an instance of a JavaScript object.
j2js Converts a Java object into an equivalent JavaScript object.
JSONParser Parses JSON without using JavaScript.
JSUtil Provides JavaScript utility functions.
JSValidator Provides functions for validating JavaScript code.