## Service teams

A service team is a permanent crew of technicians who travel together, e.g. two or three people on an installation. A team is planned like a single technician: it has its own row on the dispatch board, one route per day, and is assigned to a job instead of a technician. Work time recorded on a team job goes to every member of the crew.

Teams are managed in **System → Service teams**.

{% callout title="Requirements" %}
Teams are part of the Service add-on (see [Service](/service)). Permissions in the *Service* group:

- **Service teams — view** — the team list,
- **Service teams — edit** — adding, editing and deleting teams and changing members.

Assigning a team to a job requires **Assign technicians and subcontractors to jobs** (*Service work* group).
{% /callout %}

## Team list

The list shows for each team: **Name** (with the team color), **Members**, **Lead** and **Active**. The row menu offers **Edit team** and **Delete team**.

## Adding and editing a team

The **Add team** button opens the form:

| Field | Description |
| --- | --- |
| **Name** | Team name, unique within the account (case-insensitive) |
| **Color** | Team color in dispatch and on the map (optional) |
| **Members** | Technicians in the team — search after typing at least 2 characters. At least one member is required |
| **Lead** | One of the team members, or **No lead**. The lead determines where the team route starts and ends |
| **Active** | An inactive team gets no new jobs |

Only an active user with the **Access to own jobs only** permission can be a team member — otherwise they could not open the team's jobs.

{% callout type="warning" title="One active team per technician" %}
A technician can belong to only one active team. If a selected technician is already in another active team, saving fails: *"One of the selected technicians already belongs to team "…""*. Remove them from the other team first. The same check applies when reactivating a team — if one of its members has joined another active team in the meantime.
{% /callout %}

Removing a member who was the lead clears the **Lead** field.

### Deactivating and deleting

- **Delete team** works only for a team that has no jobs at all. A team with jobs (including finished ones) cannot be deleted — you will see *"The team has jobs and cannot be deleted — you can deactivate it"*.
- Deactivating (unchecking **Active**) a team that has open jobs (planned, dispatched or in progress) requires confirmation: the form shows the **Team has open jobs** warning and a **Deactivate anyway** button. The jobs stay with the team.
- An inactive team cannot be selected on a new job, but jobs already assigned to it can still be edited.

### Deactivating a user

When a user is deactivated, they are removed from all teams. If they were the lead, one of the remaining members becomes the lead (a team with no members is left without a lead). Reactivating the user does not return them to the team.

## Planning a job for a team

A job has **a technician or a team** — never both. In the job form, in the **Assignment** section, the **Assign to** field switches between **Technician** and **Team**. The team list shows active teams, with members listed under each name.

On the dispatch board, you assign a job to a team by dragging it onto the team's row. Dragging it onto a technician's row assigns it to the technician and removes the team (see [Dispatch & routes](/service/dispatch)).

A team's jobs are visible to and carried out by all members of its crew. Assigning a team, like assigning a technician, triggers the **Job assigned** event in business rules.

### Team crew on the job

A team job card shows the **Team** and **Crew** fields.

- While the job is **Planned** or **Assigned**, the crew is "live" — changing the team's members immediately changes the job's crew.
- The crew is **frozen** when the job leaves planning (e.g. moves to **In progress**) or when the first work time entry is added. The job history then shows *"froze the crew: …"*.
- After freezing, later changes to the team no longer affect this job — the crew stays as it went to the visit. The team on the job can no longer be changed either: *"The team crew is already frozen — the team cannot be changed"*.

### Work time for the whole crew

On a team job, one time entry (timer or manual entry) records time for everyone in the crew — above the timer you see *"Time will be recorded for: …"*. The entry can be added by a team member or by a dispatcher; a dispatcher outside the crew does not get time of their own.

- Changing or deleting such an entry applies to the whole crew.
- One person's entries cannot overlap anywhere in the account. If the time collides with another entry of any member, nothing is saved: *"This time overlaps another entry: …"*.
- In the time summary, work, travel and breaks are counted once, and an extra **Man-hours** line shows the total time of all people.

Time tracking details are described on the [Service jobs](/service/jobs) page.

## The team on the board and on the map

- **The team row** shows the name with an icon in the team color, the members and the day's workload.
- **Team working hours** are the common part of the working hours of members who are present. An absent member does not narrow the team's hours; when all are absent, the team's day is marked as an absence.
- **In a member's row** team visits are shown as grayed-out cards — they count towards the member's workload, but you move them in the team's row.
- **The Teams filter** narrows the board to the selected teams; the **Technicians** filter also keeps visits of teams whose crew includes the technician.

### Team conflicts

Besides the usual conflicts (**Overlaps another job** for two visits of the same team, **Outside working hours**, **Not enough travel time**), the board shows two team-specific conflicts:

| Message | When it appears |
| --- | --- |
| **Team member has another job at this time** | A member has their own job, or another team's visit, during the team visit |
| **Team member absent** | Someone in the crew is absent on the day of the visit |

Conflicts only warn; they do not block saving.

### Team route

On the map, the team is listed together with technicians. Clicking it opens a panel that plans one route for the whole team (**Optimize**, **Recalculate times**, **Save plan**) — just like for a technician.

- The route starts and ends at the **lead's** start and end points (their defaults or the settings for that day). A team without a lead has no start and end points — the route runs from the first to the last visit.
- The team route panel has no start/end-of-day selection of its own.
- The **Travel** time of team visits is saved by the team route.

{% callout title="A member arriving separately" %}
The team route assumes the whole crew sets off from the lead's point. If a member comes to the team visit from their own job, their personal route or a conflict in their row will flag it.
{% /callout %}

## What a team member sees

- **Jobs** — they see their team's visits like their own jobs: they can open them, change the status, record time, parts and signatures, just as on a solo job.
- **My route** — in **your profile → My route** they see their solo visits together with team visits. Team visits have fixed times on their route — solo visits are arranged around them (see [My route](/service/dispatch#my-route)).
- **A former member** sees the visits where they were in the frozen crew, but no longer the team's future visits.

A team member can work alone and with the team on the same day — the board warns if the times overlap.

## Messages

| Message | Cause |
| --- | --- |
| *A team with this name already exists* | The name is taken in the account (regardless of case) |
| *The selected user is inactive or cannot carry out jobs* | The user is deactivated or lacks the **Access to own jobs only** permission |
| *The lead must be a team member* | The selected lead is not on the member list |
| *One of the selected technicians already belongs to team "…"* | The technician is in another active team |
| *The team has jobs and cannot be deleted — you can deactivate it* | The team has jobs assigned |
| *The selected team does not exist or is inactive* | An inactive team was selected when saving a job |
| *A job can have a technician or a team, not both* | The job has both a technician and a team |
| *The team crew is already frozen — the team cannot be changed* | An attempt to change the team on a job with a frozen crew |

## FAQ

### Can a technician be in two teams?
In one active team. An inactive team can have members who also belong to another team.

### What happens to jobs after a team is deactivated?
They stay with the team and can still be carried out and edited. The team just won't appear in the selection for new jobs.

### Does changing team members change jobs already under way?
No. A job's crew is frozen when the job leaves planning or at the first time entry. Member changes affect only jobs that are still planned or assigned.

### Can a team job also have a single technician?
No. A job has a technician or a team. If you need an extra person, add them to the team before the crew is frozen.
