Exam Mule-Dev-201 Topic 1 Question 236 Discussion
Actual exam question for Salesforce's Mule-Dev-201 exam
Question #: 236
Topic #: 1
Question #: 236
Topic #: 1
Refer to the exhibits.

All three of the conditions for the Choice router are true. What messages are written in the application log?

All three of the conditions for the Choice router are true. What messages are written in the application log?
Suggested Answer: A Vote an answer
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route1 execution and the others are not checked. If none of the expressions are true, then thedefault route executes. Hence only Route1 will be executed as it is the first expression. hence output of logger is Route1.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept The Choice router dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routing option. The effect is to add conditional processing to a flow, similar to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route's execution and the others are not checked. If none of the expressions are true, then the default route executes.
Diagram Description automatically generated

MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept The Choice router dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routing option. The effect is to add conditional processing to a flow, similar to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route's execution and the others are not checked. If none of the expressions are true, then the default route executes.
Diagram Description automatically generated

by Peter at Jun 25, 2026, 02:19 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).