Mule flow, sub-flow and Error handling

A mule application can have single or multiple mule flows. Mule applications can be completed using only flow or flows. It not necessary to use sub-flow.

A Mule Flow has three sections:

Source: This section contains the connector such as Listener, Scheduler.

Process:  Contains any kind of components, connectors, or message processors which needs to achieve a problem. 


Error handling: Handle the error occurs in the Process.

A sub-flow has only one section.

sub-flow doesn’t have any event sources and error handler section. sub-flow can be used as a reference flow of a Mule flow. 


Error Handling: Every Mule flow has it’s own Error Handling section where as sub-flow doesn’t have. If any error occurred in the sub-flow, it will propagate the error to the parent flow by default. The error will be handled according the implementation in the parent flow Error handling section.


Share This Post

More To Explore

Productivity with MuleSoft RPA

Top 5 reasons to invest in MuleSoft RPA

Having trouble feeding data into your system repetitively? Or having to extract a bunch of emails from months past? Or are you overloaded with complex

How can we help?

A little about yourself and we're ready to go

We pride ourselves on swift communication and prompt responses. Let us know what you're thinking and how we can help you.

Contact Information​

Head Office
18 King Street E, Suite 1400, Toronto ON M5C 1C4, Canada

USA Office
5900 Balcones Dr, STE 4000, Austin, TX 78731, USA

Phone: +1(877) 855-8775

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Going into 2023, data will continue to be the most valuable asset for businesses! You need to know how to maximize the value of your data via integration. Learn more here.