> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/coreway-table/automation/flow-control/branch.md).

# 分支

### 1. 節點功能

分支節點，可以使不同條件的數據走向不同的分支流程。

常用場景，例如審批「通過」和「不通過」兩個結果的不同情況下，流程分別如何流向。

### 2. 分支類型

#### 2.1 普通分支

直接添加分支節點，可對流程數據進行分支處理。

![image.png](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FWj1qqi0N0EOKGp8chZDd%2F9535141fa3fdbd8c79e51154a8d769ec.png?alt=media)

#### 2.2 審批結果分支

在審批節點下添加分支，有兩種類型可選：

* 一種是普通分支，只對審批結果為「通過」的數據進行分支處理；
* 另一種是審批結果分支，分支固定為審批結果的「通過」和「不通過」；如果需要同時對審批不通過的結果數據進行處理，選擇該類型。

![image.png](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FN7qm73JxGocFUvVlzO7p%2F62dee3f1fd87e419c95b2798db67e5b9.png?alt=media)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.coreway.com/coreway-table/automation/flow-control/branch.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
