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

# Request on Behalf

> Learn how General Managers and Team Managers can submit leave requests for their team members through the Dashboard.

Managers can submit leave requests on behalf of their team members when needed. This feature is particularly useful for situations where employees are unable to submit requests themselves or when managers need to coordinate team schedules.

## Role Requirements

<AccordionGroup>
  <Accordion title="General Manager">
    Can request leave on behalf of **all users** in the organization.
  </Accordion>

  <Accordion title="Team Manager">
    Can request leave on behalf of **team members** they directly manage.
  </Accordion>
</AccordionGroup>

<Warning>
  Only users with General Manager or Team Manager roles can access the request-on-behalf functionality.
</Warning>

## How to Request Leave on Behalf

<Steps>
  <Step title="Access the Dashboard">
    Navigate to the [Spock Dashboard](https://spockoffice.com/spockapp/request-leave/) and sign in.
  </Step>

  <Step title="Go to Request Leave">
    Click on **Request Leave** in the dashboard navigation.
  </Step>

  <Step title="Enable on-behalf mode">
    Click the **"Request on Behalf"** button to activate the proxy request feature.
  </Step>

  <Step title="Select the employee">
    A new field called **"Requested for"** will appear. Select the user for whom you want to submit the request.

    <Note>
      Calendar events will automatically update according to the selected user's calendar settings.
    </Note>
  </Step>

  <Step title="Fill in leave details">
    Complete the leave request form with all necessary information:

    * Leave type
    * Duration and dates
    * Notes (public and private)
    * Substitute assignments
  </Step>

  <Step title="Submit the request">
    Submit the leave request on behalf of the employee.

    <img src="https://mintcdn.com/ideoworks/a8M340_A1nlkx04M/images/request-on-behalf-how-to-request-leave-on-behalf.png?fit=max&auto=format&n=a8M340_A1nlkx04M&q=85&s=205a58417f79e03fa3e9833461b3778e" alt="Request on behalf interface" height="300" className="rounded-lg" data-path="images/request-on-behalf-how-to-request-leave-on-behalf.png" />
  </Step>
</Steps>

## Automatic Approval Process

<Note>
  When you request leave that normally **requires approval**, the request is **automatically approved** because of your General Manager or Team Manager role.
</Note>

This streamlined process ensures that managers can efficiently handle urgent leave situations without creating additional approval bottlenecks.

## Notification System

After successful submission:

1. **Spock automatically notifies** the employee for whom the request was submitted
2. The employee receives notification through their preferred communication channels
3. The leave appears in the employee's personal leave calendar and balance

## Best Practices

<AccordionGroup>
  <Accordion title="Communication">
    Always inform the employee beforehand when possible, even though they'll receive automatic notification after submission.
  </Accordion>

  <Accordion title="Documentation">
    Use the private notes field to document the reason for submitting on behalf (e.g., "Employee called in sick", "Emergency situation").
  </Accordion>

  <Accordion title="Calendar Coordination">
    Verify that the leave dates don't conflict with critical team activities or other scheduled absences.
  </Accordion>

  <Accordion title="Follow-up">
    Confirm with the employee that they received the notification and understand the leave details.
  </Accordion>
</AccordionGroup>

## Common Use Cases

<CardGroup cols={2}>
  <Card title="Emergency Situations" icon="triangle-exclamation">
    When employees need immediate leave but cannot access Spock themselves
  </Card>

  <Card title="Sick Leave" icon="user-injured">
    Submitting requests for employees who are too ill to handle the process
  </Card>

  <Card title="System Issues" icon="computer">
    When technical problems prevent employees from submitting their own requests
  </Card>

  <Card title="Schedule Planning" icon="calendar-check">
    Coordinating team schedules and managing overlapping leave periods
  </Card>
</CardGroup>

## Related Topics

<CardGroup cols={2}>
  <Card title="Requesting Leave" href="/spock/leave-management/requesting-leave">
    Learn about the standard leave request process.
  </Card>

  <Card title="Managing Approvals" href="/spock/leave-management/approvals">
    Understand the approval workflow for different leave types.
  </Card>

  <Card title="User Administration" href="/spock/team-management/user-administration">
    Manage user roles and team assignments.
  </Card>

  <Card title="Teams Management" href="/spock/team-management/teams">
    Learn how to organize and manage teams in Spock.
  </Card>
</CardGroup>

<Tip>
  Remember that requesting leave on behalf should be used responsibly and with the employee's knowledge whenever possible to maintain trust and transparency.
</Tip>
