The <filteringPredicate> element contains an expression that further restricts which events are selected for processing by the rule or are selected to activate or deactivate the rule. Therefore, events can be filtered even more comprehensively than filtering only by event type through the <eventType> element.
The expression defines a condition and returns a boolean value, either true (the condition is met) or false (the condition is not met).
Refer to Variables for information about the variables that can be used in expressions. The use of certain variables is dependent on the context of the expression.
<filteringPredicate> has the following attribute:
Name | Description | Data type | Required? |
---|---|---|---|
expressionLanguage | Identifies the programming language in which the expression is written. Because the Java™ programming language is the only supported expression language, the only valid value for this attribute is java. | xsd:NMTOKEN | Yes |
<filteringPredicate> contains no elements.