Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 139

Refer to the exhibits. The Set Variable transformer is set with value #[{ first: “Max”, last “Mule” }].

What is a valid DateWeave expression to set as the message attribute of the Logger to access the value “Max” from the Mule event?

    Correct Answer: A

    The correct DateWeave expression to set as the message attribute of the Logger to access the value “Max” from the Mule event is vars.”customer”.“first”. This is because 'vars' is used to access variables within MuleSoft, and 'customer' is the variable name. The attribute 'first' is then accessed from the 'customer' variable. Thus, the correct and valid expression is vars.”customer”.“first”.

Discussion
AlandtOption: A

ChatGPT: A. vars."customer"."first"