> 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/triggers/packaged-workflow.md).

# 封裝業務流程

### 1. 類型介紹

封裝業務流程擁有能夠被整個組織復用的數據處理能力。它透過定義輸入參數，經過工作流程處理後輸出結果參數，供其他流程調用。

### 2. 配置示例

#### 2.1 新建封裝業務流程

在流程管理中，點擊「1 封裝流程」，新建「2 封裝業務流程」。

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

#### 2.2 設置輸入參數

點擊「設置輸入參數」，添加參數進行輸入參數的設置。

支持的輸入參數類型：文本、數值、日期、成員、部門、附件。其中成員和部門傳遞的是對象，不是文本。

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

例如，輸入參數名稱為「手機號碼」，類型為數字，設為必填；你還可以設置參數名稱的別名、說明，點擊保存。保存後的輸入參數，類型將不可改變。

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

#### 2.3 設置輸出參數

在輸出參數節點前面可以添加「獲取數據」等節點，以供輸出參數動態值使用。

點擊輸出參數節點，設置輸出參數：參數名稱、類型、輸出信息、參數別名、說明，設置完點擊保存。

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

#### 2.4 保存，完成配置


---

# 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/triggers/packaged-workflow.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.
