> 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/advanced/global-settings.md).

# 工作流程全局配置

一條工作流程還可以進行全局配置，入口：新建／修改流程頁面 - 「配置」。

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

### 1. 流程的系統錯誤通知

系統錯誤一般包括：流程動作節點執行失敗、郵件沒有可用帳號。

* 如果因這些系統錯誤導致流程終止，可以發送系統消息給指定的人；如不指定，預設發送給流程的創建者。
* 如果同一條系統錯誤信息不需要每次都收到通知，可以設置通知間隔時間，在間隔時間內將不再接收相同錯誤信息。

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

通知效果：

![20221020-161052.jpg](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2F3twHHVLt7vcwP3ueZvxY%2F5f7d9ae25cebdf377c2b7e9fc7b0118f.jpeg?alt=media)

### 2. 人工節點

人工節點適用於該流程中所有的「審批」節點。

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

#### 2.1 工作流程觸發者自動通過

如果觸發流程的觸發人，與當前審批節點的審批人是同一個成員：勾選此項，流程走到該節點時將自動通過；不勾選此項，則需要觸發者加入審批。

#### 2.2 審批人為空時自動通過

當審批節點的審批人無效時，勾選此項後，本次審批自動通過。

#### 2.3 已經審批過該對象的審批人自動通過

流程中有多個審批節點，例如下面的例子：審批節點 1 → 審批節點 2 → 審批節點 3。

如果審批節點 1 和審批節點 3 審批的對像記錄是同一條記錄，且審批人是同一個人（成員 1），那麼審批節點 2 審批通過後，走到審批節點 3 時，成員 1 就會自動通過審批——因為成員 1 在第一步已經審批通過過。

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

### 3. 流程參數

流程參數主要用於簡化工作流程中的數據傳遞，尤其是包含子流程的工作流程。我們可以在流程中定義一個參數對象，臨時用作工作流程字段的存放、接收或計算值，再由其他節點引用；當流程運行結束後，參數值將被置空。

使用流程參數主要解決以下問題：

* 搭建者無需為了工作流程邏輯運算、數據傳遞的需要，而在工作表裡定義冗餘字段，簡化工作表配置；
* 透過把主流程的字段值賦值給子流程的參數，實現多條記錄對象的相關數據同時傳給一條子流程；
* 如果你的子流程數據源是單條記錄對象，且勾選了「等待執行」，那麼此類子流程的參數支持回調——這意味著主流程也可以使用子流程內部的字段值。

![image.png](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FFtQN4L2R1eJpYZycHHsM%2Fa64e4d9719030778fd47534a746b8f1d.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/advanced/global-settings.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.
