Exam4Training

What values are accessible in the child flow after a web client submits a request to http://localhost:8Q81/order? color=red?

Refer to the exhibit.

The main flow contains a Flow Reference for the child flow.

What values are accessible in the child flow after a web client submits a request to http://localhost:8Q81/order? color=red?
A . payload
B . payload quantity var
C . payload
color query param
D . payload
quantity var color query param

Answer: D

Explanation:

Flow Reference Component

Flow Reference routes the Mule event to another flow or subflow, executes all processors in the referenced flow, and then routes the event back within the same Mule application. The following diagram shows the order of processing when one flow references another:

When the main flow is triggered, the Mule event travels through and executes the flow until the event reaches the Flow Reference. The event then travels through and executes the referenced flow from beginning to end, and then returns to the main flow.

This process enables you to treat the entire referenced flow like a single component in your current flow.

Mule Ref Doc: https://docs.mulesoft.com/mule-runtime/4.3/flowref-about

Correct answer is

payload

quantity var

color query param

Exit mobile version