mcd-level-1 question 163 discussion

View all MuleSoft Certified Developer - Level 1 (Mule 4) Exam here
back to mulesoft forum

Question 163

How can you call a subflow from Dataweave?

  • A. Not possible in Mule 4
  • B. Import function
  • C. Lookup function
  • D. Include function
Answer:

C


Explanation:
This is a trick question.
You can call only flows from DataWeave using lookup function. Note that lookup function does not
support calling subflows.
A subflow needs a parent context to inherit behaviors from such as exception handling, which a flow
does not need
Hence correct answer is Not possible in Mule 4

User Votes:
A 7 votes
50%
B 2 votes
50%
C 7 votes
50%
D 2 votes
50%
Discussions
0 / 1000
pronilofficial
3 months, 1 week ago

Subflow cannot be called using lookup function, only flow can be called. So answer is A.