filteringPredicate element

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.

Details

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.

Attributes

<filteringPredicate> has the following attribute:

Table 1. Attributes of the <filteringPredicate> element
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

Contained within

<filteringPredicate> is contained within the following elements:

Contains

<filteringPredicate> contains no elements.

Related concepts
Expressions