Exam MCD - Level 1 All QuestionsBrowse all questions from this 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?

    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
almoraimaOption: A

A is correct

DineshsinghalOption: A

Answer is A

RenatoJrOption: A

A is correct because choice expression use ==

MrAnjaniOption: A

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

miguel_romeroOption: A

A is correct

ExamDevOption: A

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

rduarte22Option: A

It's A