@notification::setDeviceNameFilters

Enable specific Device name filters for a notification. If there are no Device names specified, then all available Devices will be notified.

This needs to be set before a performNotification is performed or the default value will be used.

Syntax:

@notification::setDeviceNameFilters(List deviceNameFilter)
 

Parameters:

Returns:

None

Example:

Typically, the setDeviceFilter method is used in an initial script as illustrated in the following example::

IF (EXISTS($event.deviceNameFilter ))
  @alert::setDeviceNameFilters($event.deviceNameFilter)
ENDIF

 

@notification::setDeviceFilter