New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 7 Question 33 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer (Mule-Dev-201) exam
Question #: 33
Topic #: 7
[All Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions]

Refer to the exhibits.

The Set Payload transformer In the addltem subflow uses DataWeave to create an order object.

What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem subflow to add a router cable with the price of 100 to the order?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Laticia
2 months ago
Wait, are we sure about the price format? Seems odd.
upvoted 0 times
...
Mona
2 months ago
Definitely leaning towards B. Looks cleaner.
upvoted 0 times
...
Lottie
3 months ago
D? Really? That doesn't look right to me.
upvoted 0 times
...
Freeman
3 months ago
C seems off, missing the function call format.
upvoted 0 times
...
Bev
3 months ago
I think option A is the right one!
upvoted 0 times
...
Becky
3 months ago
I’m leaning towards option D because it seems to match the pattern we discussed in class about using lookups for subflows.
upvoted 0 times
...
Suzan
4 months ago
I’m confused about the syntax here. I thought we just needed to pass the payload directly, so maybe option C?
upvoted 0 times
...
Yun
4 months ago
I remember practicing a similar question, and I feel like using 'lookup' might be the right approach. Could it be option B or D?
upvoted 0 times
...
Desiree
4 months ago
I think the Set Payload transformer needs to directly call the subflow, so maybe option A? But I'm not entirely sure.
upvoted 0 times
...
Florinda
4 months ago
This seems straightforward. The key is to use the addItemf function and pass in the appropriate payload object with the price, item, and itemType properties. Option A looks like the right solution to me.
upvoted 0 times
...
India
4 months ago
I'm a bit confused by the different function calls in the options. Is lookupf different from addItemf? I'll need to double-check the DataWeave documentation to make sure I understand the differences.
upvoted 0 times
...
Sarah
5 months ago
Okay, I think I've got this. The question is asking us to use the addItem subflow to add a router cable with a price of 100 to the order. Option C looks like the correct DataWeave code to do that.
upvoted 0 times
...
Daron
5 months ago
Hmm, this looks like it's testing our knowledge of DataWeave and how to call a subflow. I'll need to carefully review the options and think through the syntax.
upvoted 0 times
...

Save Cancel