Loading...
8-7
The Data Filters
8.4.1. Logical AND/OR Conditions
Logical AND/OR conditions can be created by including the AND
operators, or the OR operators in the match parameter definition. A logical
OR condition can also be created by defining a series of match parameters
using a separate Clue for each parameter.
8.4.1.1. Logical AND Conditions
The AND operators (* and &) link parameters in a manner where two or
more conditions must all be true in order for the record to match the filter.
Example: Assume "A" represents the field for the number dialed, and "B"
represents the extension number. To define a Data Filter Clue that accepts
records for calls placed to 555-1111 from extension 013, match parameters
would be defined as follows:
A=5551111*B=013 or A=5551111&B=013
This Data Filter Clue would only accept calls placed to 555-1111 AND
placed from extension 013. Calls to 555-1111 from extension 086 would
not be accepted, and calls to 555-2222 from extension 013 would also not
be accepted.
8.4.1.2. Logical OR Conditions
The OR operators (+ and |) link parameters in a manner where any of two
or more conditions must be true in order for the record to match the filter.
Example: Assume the variable "A" represents the field for the number
dialed, and "B" represents the extension number. To define a Data Filter
Clue that accepts records for calls placed to 555-1111 OR placed from
extension 013, match parameters would be defined as follows:
A=5551111+B=013 or A=5551111|B=013
This Data Filter Clue would accept all calls that are placed to 555-1111 OR
placed from extension 013. Calls to 555-1111 from extension 086 would be
accepted, and calls to 555-2222 from extension 013 would also be accepted.
Another method for creating an OR condition is to define match parameters
using separate clues. When a series of clues are defined, the record will be
flagged if any of the defined clues are matched. In the preceding example,
the same results could also be achieved by defining the following clues:
Clue Name Match Parameter
NUMBER A=5551111
EXTENSION B=013
Loading...
Terms of Use | Privacy Policy | DMCA Policy
2006-2020 Rsmanuals.com