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

Refer to the exhibits. The Set Payload transformer sets the payload to an object. The Logger component’s message attribute is configured with the string ‘Result #[INFO" ++ payload]’.

What is logged when the flow executes?

    Correct Answer: A

    The correct answer is 'A'. The issue arises when trying to concatenate a string ('INFO') with an object using the '++' operator. In MuleSoft DataWeave, the '++' operator is not designed to concatenate a string and an object directly, which causes an error message when the flow executes indicating that the function '++' was used with incompatible arguments.

Discussion
ExamDevOption: A

A is correct

martademanzanaOption: A

A is correct