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
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
...
...
Log in to ExamTopics
Sign in:
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.
sirious09
2 years, 3 months agojpbatis
3 years, 6 months agocorazonvikingo
1 year, 1 month ago