QuestionQ7

VerifiedManage event flow, handle errors, and process batch records

Refer to the exhibits.

What payload and quantity values are logged at the end of the main flow?

Question Image

Question Image

Explanation

In Mule 4, a For Each scope processes each collection element as the in-scope payload but does not modify the flow’s output payload, so the payload remains [1,2,3,4]. Changes to variables persist from one iteration to the next and outside the scope; four increments of quantity from 10 produce 14. MuleSoft For Each Scope documentation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!