action element

The <action> element contains an expression that defines either a rule response action or a life cycle action.

Details

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

<action> has the following attributes:

Table 1. Attributes of the <action> 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
name Identifies the action. This identifier can be useful for troubleshooting purposes, especially if it is a unique name among all <action> elements that are defined for a specific rule response or life cycle action. xsd:NMTOKEN No

Contained within

Contains

<action> contains no elements.

Related concepts
Expressions