Studio Visual Editor
-
Place the Flow Reference component on the canvas at the point where you want the current flow to call another flow.
-
Open the flow reference component’s Properties Editor to configure it according to the table below.
Attribute | Value | Description |
---|---|---|
Display Name |
Flow Reference |
Customize to display a unique name for the component in your application. |
Flow name |
Mule auto-populates this drop-down with the flow names in your application |
Select the name of the flow that you want to invoke using this flow reference. |
XML Editor or Standalone
Add a flow-ref
element to your flow, then configure its attributes according to the table below. Refer to code sample below.
Element | Description |
---|---|
flow-ref |
Insert the flow-ref element into your code at the point where you want the current flow to call another flow. |
Element Attribute | Description |
---|---|
name |
Specify the name of the flow that you want to invoke using this flow reference. |
doc:name |
Customize to display a unique name for the component in your application. Note: This attribute is not required in a Mule Standalone configuration. |
<flow-ref name="flowrefFlow" doc:name="flowrefFlow"/>