Definitions
This chapter explains how the data in the reports is collected and how the report metrics are defined and calculated. Read it first to understand the difference between a visit, a visit transaction and a transaction.
Data storage in Orchestra
Everything that happens in Orchestra is stored in the statistics database as so-called events.
For each visit, an event is stored when:
- a customer arrives
- a customer is called
- a customer is transferred
- the service is ended
In addition, Orchestra stores:
- in which branch
- at which service point
- by which staff member
- for which service the visit takes place.
From these stored events, metrics such as waiting times and serving times are calculated. These metrics are used together with the information about branch, staff member and so on to build the reports. See Report metrics.
Important terms
- Visit: the lifetime of one ticket. A visit starts when the customer enters the queue and ends when the customer's last service is served.
- Visit transaction: starts when a customer enters the queue, and ends when the customer is served or transferred. A normal visit consists of a single visit transaction. When the visit is transferred or contains several services, the visit contains several visit transactions. The reports mostly look at visit transactions.
- Transaction: starts when the customer is called, and ends when the customer is served or transferred.

There are other scenarios. If a customer is transferred to a queue or a pool, one visit has several visit transactions.

Visit transaction outcomes
A visit transaction ends when it is given an outcome:
| Id | Name | Description |
|---|---|---|
| 1 | Normal | The visit transaction was ended in a normal way: the staff member called the next customer, finished the visit, or closed the counter. |
| 2 | No show | The customer was called but did not show up. The staff member then marked the visit as a no show. |
| 3 | Remove | The visit was removed from the queue by staff before being called. |
| 4 | Recycle | No longer used as a visit transaction outcome. |
| 5 | Transfer to queue | The visit was transferred to a queue. |
| 6 | Transfer to service point pool | The visit was transferred to a service point pool. |
| 7 | Transfer to staff pool | The visit was transferred to a staff pool. |
| 8 | Remove by reset | The visit was removed as the result of a branch reset. |
| 9 | Remove by customer | The visit was removed by the customer, for example when using Mobile Ticket. |
| 10 | End by force logout | The visit was ended due to a forced logout. |
| 11 | Remove by publish | The visit was removed due to a publish. |
| 12 | Ended by logout | The visit was ended due to a logout. |
| 13 | Ended by Shiro timeout | The visit was ended due to a Shiro time-out. |
| 14 | Ended by terminal timeout | The visit was ended due to a terminal time-out. |
Incomplete visit transactions
Some outcomes make a visit transaction incomplete.
No shows
A staff member can mark a visit as a no show when a customer is called from the queue and no one shows up. The waiting time of a no-show customer is stored, but the transaction time is not. Otherwise no-show customers would distort the average and total transaction times for a service or queue.
Removed visits
When a customer is removed from a queue, the visit is removed from the statistics altogether. The waiting time is measured but not saved, because the reason for the removal is unknown. For example, a customer may have taken two tickets by mistake and a staff member removed one.
Walking time and wrap-up time
Orchestra can be configured so that the staff member confirms that the customer has arrived. The staff member can also add wrap-up time to a visit. The walking time and the wrap-up time are both part of the transaction time.

Service point session and staff session
A service point session starts when the service point is opened and ends when it is closed. The time between transactions counts as idle time. Staff sessions work the same way, except that a staff session starts when the staff member logs in and ends when they log out. A staff member can close the service point without logging out.

Appointments
An appointment is a visit booked in advance.
When an appointment is checked in, at a kiosk, a reception or in another way, a normal visit transaction starts. Time metrics such as waiting time, walking time and transaction time therefore come from the visit transactions in which the appointment is served.
The waiting time for an appointment starts when the customer is checked in (when the visit enters a queue), not at the booked appointment time.
Report metrics
The reports are made up of dimensions and metrics, which come from the events stored by Orchestra. Dimensions are what you report against, for example branch, queue or hour. Metrics are quantities calculated from the stored events. There are three kinds: count metrics (for example arrived, called, served), time metrics (for example waiting time, transaction time) and time interval metrics (for example the number of customers with a waiting time of 0–5 minutes).
A number of customers isn't necessarily the number of individual customers. A customer is counted each time they take part in a visit transaction.
Count metrics
| Metric | Description |
|---|---|
| Arrived | Number of arrived customers, based on the number of visits inserted in a queue. Does not include visits that are removed by a staff member, by a publish or by the customer (in Mobile Ticket). |
| Called | Number of customers called by a staff member. Recycled visits are not counted as called. |
| No shows | Number of customers marked as a no show (did not show up at the service point). A no show counts as called but not served. |
| No shows (%) | The percentage of all called customers that were marked as no shows. |
| Served | Number of served customers. All called visits are served, except no shows. Recycled visits are not called, so they are not served either. |
| Served (%) | The percentage of the arrived customers who were served. |
| > TSL | Number of customers whose transaction time was above the transaction time service level (TSL), set on the service in Business Configuration (called "serving time" in Orchestra). |
| > WSL | Number of customers with a waiting time above the waiting time service level (WSL), set on the queue in Business Configuration. |
| < WSL | Number of customers with a waiting time below the waiting time service level, set on the queue in Business Configuration. |
| > WSL (%) | The percentage of all served customers who had a waiting time above the service level. |
Time metrics
| Metric | Description |
|---|---|
| Idle time (service point) | The total time a service point was open but did not serve any customers. |
| Idle time (%) (service point) | The percentage of the time the service point was open but did not serve any customers. |
| Idle time (staff) | The total time a staff member was logged in but did not serve any customers. |
| Idle time (%) (staff) | The percentage of the time the staff member was logged in but did not serve any customers. |
| Transaction time | Time from when the visit transaction is called until it is ended, either normally (outcome 1) or by a transfer (outcomes 5, 6 and 7). |
| Waiting time | Time from when the visit transaction is created until it is called. For appointments, see Appointments. |
When a visit transaction is transferred, a new visit transaction is created at the moment the previous one ends. When a visit transaction is part of a multi-service visit, ending it puts the next service in the queue, and the create time of the next visit transaction is the end time of the previous one.