> 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/yoov-work/zh-hk/faq/approval-management/how-to-set-conditional-approval-process.md).

# 如何設置分條件審批流程？

* 以請假審批為例，設定分條件流程： \
  條件一：當員工請假天數小於3天，且請假類型為年假 \
  條件二：當員工請假天數大於等於3天，且請假類型為年假
* 操作流程： \
  ① 進入流程設計，點選左側 「分條件流程」\
  ② 點選 「條件1」 ，按 「當員工請假天數小於3天，且請假類型為年假」 的要求進行設置，時長小於3，請假類型選擇年假，設定後，點選 「保存」\
  ③ 點選 「條件2」，按 「當員工請假天數大於等於3天，而請假類型為年假」 的要求進行設置，時長大於等於3，請假類型選擇年假，設定後，點選 「保存」\
  ④ 設定完後條件分支顯示如下，再進行各分支的 「審核人」 和 「抄送人」 設定就可以

<figure><img src="/files/1LjS6mq9GtPTLUw0VS7P" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/RwuEiyd6kTOm24VCqLFf" alt=""><figcaption><p>分條件流程</p></figcaption></figure>

<figure><img src="/files/pULyaNEMvrVnh9LUybbJ" alt=""><figcaption><p>設定條件 1</p></figcaption></figure>

<figure><img src="/files/lODUXm4kuN0FoTcuOAdP" alt=""><figcaption><p>設定條件 2</p></figcaption></figure>

<figure><img src="/files/9XCUCpsWSaiN3CqlBCMP" alt=""><figcaption><p>設定完後條件分支後，再進行各分支的 「審核人」 和 「抄送人」 設定</p></figcaption></figure>


---

# 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.coreway.com/yoov-work/zh-hk/faq/approval-management/how-to-set-conditional-approval-process.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.
