Skip to main content
Previous sectionNext section

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)
Copy code to clipboard

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.

The preceding syntax is equivalent to the following method call:

message.GetValueAt("multi-valued-property-path")
Copy code to clipboard

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>