BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Salesforce MuleSoft Developer I Topic 7 Question 11 Discussion

Actual exam question for Salesforce's Salesforce MuleSoft Developer I exam
Question #: 11
Topic #: 7
[All Salesforce MuleSoft Developer I Questions]

Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".

What is the output of logger after the execution of choice router is completed?

Show Suggested Answer Hide Answer
Suggested Answer: D

To compare, DataWeave syntax is #[payload == 'FR'].

In this case only one = is used so it will give syntax error.

Hence the correct answer isA dataweave syntax error


Contribute your Thoughts:

Jamey
3 months ago
This is a tricky one, but I reckon the correct answer is 'Domestic'. Gotta love those choice routers!
upvoted 0 times
...
Fletcher
3 months ago
Definitely not a DataWeave syntax error, that would be too easy. I'm going with 'Domestic'.
upvoted 0 times
Noe
2 months ago
I think it's 'Domestic' as well.
upvoted 0 times
...
Mignon
3 months ago
I agree, 'Domestic' seems like the correct output.
upvoted 0 times
...
...
Burma
3 months ago
Haha, I bet someone is going to choose 'US' just because it's a common shipping destination.
upvoted 0 times
Elena
2 months ago
Sylvia: Oh, I see. Thanks for clarifying!
upvoted 0 times
...
Marsha
3 months ago
I agree with Marsha, it will be 'Domestic'.
upvoted 0 times
...
Sylvia
3 months ago
No, it should be 'Domestic' based on the payload value.
upvoted 0 times
...
Shonda
3 months ago
I think the output will be 'US'.
upvoted 0 times
...
...
Paola
3 months ago
I think it might be a dataweave syntax error.
upvoted 0 times
...
Theola
4 months ago
The when expression looks correct, so I think the output should be 'Domestic'.
upvoted 0 times
Val
3 months ago
A) \'Domestic\'
upvoted 0 times
...
...
Clay
4 months ago
But the When expression is set to 'FR', so it should be 'US'.
upvoted 0 times
...
Denny
4 months ago
I believe it will be 'International'.
upvoted 0 times
...
Clay
4 months ago
I think the output will be 'Domestic'.
upvoted 0 times
...

Save Cancel