The getAlert(...) function retrieves an existing alert to discover the status of the alert or to alter the properties of the alert.  To obtain the alert, a userAssignedID must be passed to the function corresponding to the alert you want to find.   The result of this function is an alert object.

Syntax:
getAlert( userAssignedID )
userAssignedID.getAlert();

 

Parameter Description
userAssignedID A String value containing the id assigned to the alert.