The <computedValue> element contains an expression that runs when the rule receives an event to create a string value that is based on the value of one or more attributes of the event. This string value can then be used in the grouping key.
If the expression within the <computedValue> element returns a null value, the rule treats this null value as a missing attribute value.
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.
<computedValue> 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 |
<computedValue> contains no elements.