mcd-level-1 question 222 discussion

View all MuleSoft Certified Developer - Level 1 (Mule 4) Exam here
back to mulesoft forum

Question 222

Refer to the exhibits.

The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ].
What is a valid DataWeave expression to set as the message attribute of the Logger to access the
value "Max" from the Mule event?

  • A. vars "customer first"
  • B. "customer first"
  • C. customer first
  • D. vars "customer" "first" Most Votes
Answer:

D


User Votes:
A 3 votes
50%
B 1 votes
50%
C
50%
D 26 votes
50%
Discussions
0 / 1000
acwork
1 year ago

D. vars.customer.first