> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bizbone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Leave Request Business Process

> Configure and customize the workflow used to process Leave Requests.

The **Leave Request** business process defines how leave requests move through the approval workflow from submission to completion.

Administrators can customize this workflow to match their organization's approval requirements, including adding or removing approval levels, configuring decision paths, and automating system actions.

<Info>
  Changes to a business process only apply to new Leave Requests created after the workflow is published. Existing requests continue using the workflow version that was active when they were created.
</Info>

## Default Workflow

The default Leave Request workflow consists of the following steps:

1. Employee submits a Leave Request.
2. Immediate Supervisor reviews the request.
3. If approved, the request is routed to the L2 Manager.
4. If approved again, the system automatically creates a Work Log.
5. The request is completed.
6. If rejected at any approval stage, the request ends with a **Rejected** status.

<Frame caption="Default Leave Request Workflow">
  <img src="https://mintcdn.com/bizbone/GWQ1l3p7pywsLplB/images/Screenshot-2026-06-22-at-11.08.27-AM.png?fit=max&auto=format&n=GWQ1l3p7pywsLplB&q=85&s=0918cdc65dfe6e55062538923abb9c4f" alt="Screenshot 2026 06 22 At 11 08 27 AM" width="2386" height="1014" data-path="images/Screenshot-2026-06-22-at-11.08.27-AM.png" />
</Frame>

### Workflow Steps

| Step                                      | Description                                                               |
| ----------------------------------------- | ------------------------------------------------------------------------- |
| **Leave needed**                          | Employee initiates a Leave Request.                                       |
| **Create request**                        | Employee completes and submits the request.                               |
| **Review request (Immediate Supervisor)** | Immediate Supervisor reviews and approves or rejects the request.         |
| **Decision**                              | Routes the workflow based on the approval outcome.                        |
| **Review request (L2 Manager)**           | Secondary approval by the L2 Manager.                                     |
| **Decision**                              | Determines whether the request proceeds or is rejected.                   |
| **Create Work Log**                       | Automatically creates the employee's work log after final approval.       |
| **Process completed**                     | Workflow ends successfully.                                               |
| **Request rejected**                      | Workflow ends when a reviewer rejects the request.                        |
| **Request edited**                        | Request is updated before continuing through the workflow (if permitted). |

### Approval Paths

<Tabs>
  <Tab title="Approved">
    ```mermaid theme={null}
    flowchart LR
    A[Employee]
    --> B[Immediate Supervisor]
    --> C[L2 Manager]
    --> D[Create Work Log]
    --> E([Completed])

    classDef complete fill:#16a34a,color:#fff,stroke:#16a34a;

    class E compl
    ```
  </Tab>

  <Tab title="Rejected by Immediate Supervisor">
    ```mermaid theme={null}
    flowchart LR
    Employee --> Supervisor
    Supervisor --> Rejected
    ```
  </Tab>

  <Tab title="Rejected by L2 Manager">
    ```mermaid theme={null}
    flowchart LR
    Employee --> Supervisor
    Supervisor --> Manager
    Manager --> Rejected
    ```
  </Tab>
</Tabs>

***

## Common Customizations

Administrators can modify the workflow to support their organization's approval process.

### Add Additional Approvers

This example demonstrates how to add an **HR approval** after the **L2 Manager** review.

<Steps>
  <Step title="Open the Leave Request business process">
    Navigate to **Administration > Business Process**, then open the **Leave Request** workflow and select **Edit**.
  </Step>

  <Step title="Add a Review Request task">
    <Frame>
      <img src="https://mintcdn.com/bizbone/_k3erF2n8rcHBsQu/images/add-review-request.png?fit=max&auto=format&n=_k3erF2n8rcHBsQu&q=85&s=a5568f0d00aaa3b3bd439e3d897df2b5" alt="Add Review Request" width="1892" height="1214" data-path="images/add-review-request.png" />
    </Frame>

    <Info>
      You may need to select and drag other tasks to make space for the new Review Request
    </Info>
  </Step>

  <Step title="From the component palette, drag a Review Request task onto the workflow canvas.">
    <Frame>
      <img src="https://mintcdn.com/bizbone/SyPCGCP073NhQ07X/images/leave-request-placement.png?fit=max&auto=format&n=SyPCGCP073NhQ07X&q=85&s=462dddfe26240e368251105fbb030e86" alt="Leave Request Placement" width="2716" height="1145" data-path="images/leave-request-placement.png" />
    </Frame>

    Position the new task between **Review Request (L2 Manager)** and **Create Work Log**.
  </Step>

  <Step title="Connect the workflow">
    <Frame>
      <img src="https://mintcdn.com/bizbone/SyPCGCP073NhQ07X/images/leave-request-sequence.png?fit=max&auto=format&n=SyPCGCP073NhQ07X&q=85&s=45b129bf7a32da6afa56dd4baabb6e06" alt="Leave Request Sequence" width="2634" height="1162" data-path="images/leave-request-sequence.png" />
    </Frame>

    Connect the **Approved** path from the **L2 Manager** decision gateway to the new **Review Request** task. Then connect the new task to the **Create Work Log** task. 

    <Info>
      This should be done automatically if you positioned the new Review Request in between two steps.
    </Info>
  </Step>

  <Step title="Configure the Review Request task">
    <Frame>
      <img src="https://mintcdn.com/bizbone/SyPCGCP073NhQ07X/images/leave-request-review-request-properties.png?fit=max&auto=format&n=SyPCGCP073NhQ07X&q=85&s=e5f8a87e3285f01a4f5f308bd5e9f1ff" alt="Leave Request Review Request Properties" width="2364" height="1528" data-path="images/leave-request-review-request-properties.png" />
    </Frame>

    Select the newly added task and configure its properties.

    | Field             | Example                         |
    | :---------------- | :------------------------------ |
    | **Name**          | HR Review                       |
    | **Reviewer**      | Chosen from Users               |
    | **Specification** | Users having the following role |
    | **Role**          | Human Resources Manager         |
  </Step>

  <Step title="Configure the decision outcome">
    <Frame>
      <img src="https://mintcdn.com/bizbone/SyPCGCP073NhQ07X/images/leave-request-reject-sequence.png?fit=max&auto=format&n=SyPCGCP073NhQ07X&q=85&s=4f0fffb46bb63353ac12df96ddbb3bfc" alt="Leave Request Reject Sequence" width="1962" height="742" data-path="images/leave-request-reject-sequence.png" />
    </Frame>

    Configure the approval paths for the new review task.

    ```text theme={null}
    - **Approved** → Create Work Log
    - **Rejected** → Request Rejected
    ```
  </Step>

  <Step title="Publish the workflow">
    Select **Publish** to activate the updated workflow.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/bizbone/SyPCGCP073NhQ07X/images/leave-request-new-flow.png?fit=max&auto=format&n=SyPCGCP073NhQ07X&q=85&s=876d432a6aefbd6a285711bd760dfb63" alt="Leave Request New Flow" width="2540" height="844" data-path="images/leave-request-new-flow.png" />
</Frame>

***

### Remove Approval Levels

Smaller organizations may only require a single approver.

```text theme={null}
Employee
    ↓
Supervisor
    ↓
Completed
```

***

### Add Automated Tasks

Automated tasks can be inserted anywhere in the workflow.

Examples include:

* Send email notifications
* Create Work Logs
* Update leave balances
* Notify Payroll
* Generate documents
* Call external systems

***

### Change Decision Paths

Approval and rejection paths can be customized.

For example:

```text theme={null}
Approved → HR Review

Rejected → Return to Employee
```

Instead of ending immediately, rejected requests may:

* Return to the employee for editing
* Allow resubmission
* Notify Human Resources
* Escalate to another approver

***

## Editing the Workflow

To modify the Leave Request workflow:

<Steps>
  <Step title="Navigate to Administration > Business Process">
    Open the **Business Process** module.
  </Step>

  <Step title="Select the Leave Request business process">
    Locate and open the Leave Request workflow.
  </Step>

  <Step title="Select Edit">
    Open the workflow designer.
  </Step>

  <Step title="Modify the workflow">
    Drag and drop workflow components to:

    * Add or remove approval steps
    * Change approval routing
    * Add automated tasks
    * Configure rejection paths
    * Modify notifications
  </Step>

  <Step title="Publish the workflow">
    Select **Publish** to make the new workflow active.
  </Step>
</Steps>

***

## Workflow Components

The workflow editor supports several component types.

| Component            | Purpose                                             |
| -------------------- | --------------------------------------------------- |
| **Start Event**      | Begins the workflow.                                |
| **User Task**        | Requires action from a user or approver.            |
| **Decision Gateway** | Routes the workflow based on approval or rejection. |
| **Service Task**     | Performs an automated system action.                |
| **End Event**        | Marks completion of the workflow.                   |

***

## Related Documentation

* [Business Processes Overview](/erp/admin/business-process-overview)
* [Create Leave Request](/erp/requests/leave-request)
* [Leave Request](/erp/timekeeping/leave-request)
