setFilter



Function: setFilter()

Applies a script-based filter condition to a pipe, causing a lookup to be performed on the pipe. Once the lookup is completed the filter is cleared.

setFilter() will return the result of the pipe lookup.

Note that any filter conditions configured directly on the pipe will be ignored.

Syntax

setFilter(pipeName, filterName)

ArgumentTypeDescription
pipeNameStringThe name of the pipe for which to apply the filter.
filterNameStringThe name of the filter to be applied to the pipe.

Examples

setFilter(telephoneCalls, callFilter)

Sets the filter called callFilter on the pipe called telephoneCalls.

See Also