OnCallRotation - getCatchAll(String rotaID)

Gets the sys_id of the catch all person. Use together with the getCatchAllType() method to determine the source of the returned id. Get the sys_id of the catch all persons.

Table 1. Parameters
Name Type Description
rotaID String The sys_id of the rota.
Table 2. Returns
Type Description
String The sys_id of a sys_user, a cmn_rota_roster, or null.
var rotaID = "...";
var rota = new SNC.OnCallRotation()
gs.log("catch all: " + rota.catchAll(rotaID) + " (type:" + rota.catchAllType(rotaID) + ")");