NotifyNow - getReadyState()

Indicate whether Notify is set up correctly or not.

This method can only be accessed by administrators or users with the notifynow_admin role. Users with all other roles get the message False when trying to run the function in a script.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Boolean True if Notify is set up correctly, otherwise false.

var nn = new SNC.NotifyNow();
gs.log(((nn.getReadyState()) ? "OK" :  "NOT OK"));