Versions Compared

Key

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

...

Function: setFilter()

Applies a script-based Filter Condition filter condition to a Pipepipe, causing a lookup to be performed on the Pipepipe. 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