QuestionQ12

VerifiedTransform and format data with DataWeave

Refer to the exhibits shown.

The Set Variable transformer is configured with a value.

What is a valid DataWeave expression to set as the Logger’s message attribute in order to access the value “Max” from the Mule event?

Question Image

Explanation

Mule event variables are accessed through the vars keyword. The customer variable contains an object with a first field, so selecting vars."customer"."first" retrieves the field value Max.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!