Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Excerpt
hiddentrue

setFilter(pipeName, filterName)

...

Applies a script-based Filter Condition to a Pipe, causing a lookup to be performed on the Pipe.


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 pipe lookup.

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

Syntax

setFilter(pipeName, filterName)

ArgumentTypeDescription
pipeNameStringThe name of the Pipe pipe for which to apply the Filterfilter.
filterNameStringThe name of the Filter filter to be applied to the Pipepipe.

Examples

setFilter(telephoneCalls, callFilter)

Sets the Filter filter called callFilter on the Pipe pipe called telephoneCalls.

See Also