MCD - Level 1 Exam QuestionsBrowse all questions from this exam

MCD - Level 1 Exam - Question 88


Refer to the exhibits.

The expression for the Choice router needs to be written.

What is a valid expression to route Mule events to the non-default flow?

Show Answer
Correct Answer: A

The correct <when> expression should follow the DataWeave 2.0 expression language, which is utilized in MuleSoft. In DataWeave, the equality operator is '=='. Additionally, the correct syntax to access the value of 'company' from the payload is payload.'company'. Therefore, the proper syntax for the <when> expression is #[ 'MuleSoft' == payload.'company' ].

Discussion

7 comments
Sign in to comment
almoraimaOption: A
Mar 28, 2021

A is correct

DineshsinghalOption: A
Jun 19, 2021

Answer is A

RenatoJrOption: A
Sep 12, 2021

A is correct because choice expression use ==

miguel_romeroOption: A
Dec 15, 2021

A is correct

MrAnjaniOption: A
Dec 20, 2021

A is correct answer. Verified in Studio. The choice expression use ==

rduarte22Option: A
May 30, 2023

It's A

ExamDevOption: A
Jan 25, 2024

A. #[ 'MuleSoft' == payload.'company' ]