Skip to main content

Parenthesis () Syntax

Describes how to use parenthesis () syntax to access virtual properties.

Where Applicable

You can use this syntax in business rules and in DTL transformations.

Details

To use parenthesis syntax to access a virtual property, use the following syntax:

message.(multi-valued-property-path)

Where:

  • message is a variable that refers to the current message. The name of this variable depends upon the context.

  • multi-valued-property-path is a virtual property path that uses the repeating field shortcut () to iterate through every instance of a repeating field, as described earlier in this reference.

Within DTL, the preceding syntax is equivalent to the following method call:

message.GetValueAt("multi-valued-property-path")

Within a business rule, the preceding syntax is equivalent to the following method call:

message.GetValues("multi-valued-property-path")

If the syntax returns multiple values a, b, and c, they appear in a single string enclosed in <> angle brackets, like this:

<a><b><c>

FeedbackOpens in a new tab