# How to Set Up a Conditional Approval Process?

* Taking leave approval as an Example, set up a conditional process:&#x20;

Condition 1: When an employee takes less than 3 days of leave, and the leave type is annual leave Condition 2: When an employee takes more than 3 days of leave, and the leave type is annual leave

* Operation process: \
  ① Enter process design and click "Sub-condition Process" on the left \
  ② Click "Condition 1" and set according to the requirements of "When an employee takes less than 3 days of leave and the leave type is annual leave". The duration is less than 3 and the leave type selects annual leave. After setting, click "Save" \
  ③ Click "Condition 2" and set according to the requirements of "When the employee's leave days are greater than or equal to 3 days, and the leave type is annual leave", the duration is greater than or equal to 3, and the leave type is annual leave. After setting, click "Save" \
  ④ After setting, the conditional branch will be displayed as follows. Then set the "reviewer" and "cc" of each branch. After set, click "Next".&#x20;

<figure><img src="/files/EIJeqlLIkY7fUkxtD6pM" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4jPHnEIMsKD4hPzrwmjv" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/5rEOiPGDYsU7ABQxzrVL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/FE7FfUDR0knkublGFfza" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/UZWjCRUXamG0qQwbgAaT" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.yoov.com/yoov-work/approval-management/how-to-set-up-a-conditional-approval-process.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
