GlideURLV3 - addParam(String name, String value)

Adds a query string name-value pair to the URL.

Table 1. Parameters
Name Type Description
name String Name of the query string parameter.
value String Query string value.
Table 2. Returns
Type Description
String The GlideURL
var gu = new GlideURL('incident.do');
var url = gu.addParam('sys_id', '-1');