- Simplify the layout of complex flows by grouping stages together and having them represented as one stage on the canvas.
- Process records in groups using the iteration feature.
- Use a value in a field to set stage options in the embedded flow.
You can add an unlimited number of embedded flows to a flow, and you can put embedded flows within embedded flows.
Differences between embedded flows and subflows
There are two major differences between an embedded flow and a subflow. First, iteration processing is only available in embedded flows. Iteration allows you to process groups of records together for purposes such as aggregating records for processing or setting stage options based on field values. The second difference between an embedded flow and subflow is that an embedded flow cannot be used in more than one flow. If you want to reuse a portion of a flow in multiple flows, create a subflow instead of an embedded flow. Embedded flows can be converted into subflows if you decide you want to reuse an embedded flow in other flows, but when you convert an embedded flow to a subflow its iterations options are removed.