Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam MCD - Level 1 All Questions

View all questions & answers for the MCD - Level 1 exam

Exam MCD - Level 1 topic 1 question 10 discussion

Actual exam question from Mulesoft's MCD - Level 1
Question #: 10
Topic #: 1
[All MCD - Level 1 Questions]

How can you call a flow from Dataweave?

  • A. Not allowed
  • B. Include function
  • C. Look up function
  • D. Tag function
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sirious09
2 years, 3 months ago
Selected Answer: C
{a: lookup("myFlow", {b:"Hello"})}
upvoted 1 times
...
jpbatis
3 years, 6 months ago
The lookup function is of very specific use, the mule's documentation indicates using the flow reference with the target. "MuleSoft recommends that you invoke flows with the Flow Ref (flow-ref) component, using the target attribute to put the result of the flow in a var and then referencing that var from within the DataWeave script." Reference: https://docs.mulesoft.com/mule-runtime/4.3/dw-mule-functions-lookup
upvoted 3 times
corazonvikingo
1 year, 1 month ago
Yes, good observation. The Lookup functions now seems to be deprecated, according to MuleSoft's documentation, and what you quoted is the recommended way to do it instead. There are probably no more questions about the Lookup function on the exam anymore.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

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.

SaveCancel
Loading ...