> For the complete documentation index, see [llms.txt](https://docs.oneweb.tech/oneweb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oneweb.tech/oneweb/design-and-develop-oneweb-apps/integration-with-other-systems/develop-integration-with-oneweb-microflow/activity-nodes/sub-flow.md).

# Sub Flow

Use the **Sub Flow** node to call another microflow.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FNYd1VfJZM1JFmymsm1tq%2Fimage.png?alt=media&amp;token=5e002685-56de-4d30-b08d-bffed635fba2" alt=""><figcaption></figcaption></figure>

### **Purpose**

The **Sub Flow** node is used to call other microflows from within the main flow. If there is a section of the main flow that can stand alone, it is good practice to implement it as a separate microflow. Now you can call this flow from the main flow using the Sub Flow node. This improves clarity and reusability.

### **Sub Flow Node Configuration Properties**

Sub Flow Node Configuration panel has 3 tabs to define properties.

**General**

General Tab contains general information such as title, task id etc.

**Business Object**

Used to configure and map the **Business Object** for input and output for the node.

**Sub Flow**

&#x20;

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Fx2Llp7IiNxRrlHuyZaIt%2Fimage.png?alt=media&amp;token=3859bf88-b949-4e62-8b86-e585bf3d8b2c" alt="" width="546"><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="165"></th><th width="122"></th><th width="103"></th><th></th></tr></thead><tbody><tr><td><strong>Property</strong></td><td><strong>Mandatory</strong></td><td><strong>Default</strong></td><td><strong>Description</strong></td></tr><tr><td>Flow Name</td><td>Yes</td><td></td><td>Choose the flow that you want to use as a sub flow in your main flow.</td></tr></tbody></table>

In **Sub Flow** tab, "**Open Sub flow"** button is used to open or edit the sub flow. **"Open Mapping Parameter"** button is used to map parameters to the sub flow. When click on **Open Mapping Parameter** button, the system will redirect user to **Mapping Parameter** screen and then user can click **Mapping Parameter Input** line or **Mapping Parameter Output** line to map parameters for this task.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.oneweb.tech/oneweb/design-and-develop-oneweb-apps/integration-with-other-systems/develop-integration-with-oneweb-microflow/activity-nodes/sub-flow.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
