Nav

About Precedence in DataWeave

This table lists the order in which different DataWeave expressions are compiled. The result of compiling something at one level may be used as an input for expressions in higher levels, but not vice-versa. Expressions are ordered in the table from first compiled to last.

Operator Description Level

using, all unary operators

1

as

Type coercion expression

2

* /

Multiplication and division

3

+ - >> <<

Addition, subtraction, and binary right and left shift operators

4

>= ⇐ < > is

Relational / Type Comparison

5

!= ~= ==

Equality evaluators

6

AND

Conditional And

7

OR

Conditional OR

8

default, [Pattern Matching], matches, map, mapObject, groupBy, filter

Default Value / Pattern Matching / Binary Operators

9

if else

Conditional Expressions

10

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.

+