Scoped GlideServletRequest - getQueryString()

Returns the query string from the request.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The query string.

The code snippet is:

var daString = g_request.getQueryString();
g_processor.writeOutput("The query string is: " + daString);
Output: The request URL is: https://demonightlycloudedge.service-now.com/x_custom_app_customApp.do?x_custom_app_name=George&bell=rung
The query string is: x_custom_app_name=George&bell=rung