The activity timer log feature is available with the Activity Timer Reporting plugin (sn_activity_timer_reporting). This plugin adds user tables, user roles, UIB page properties, a script include, and a scheduled
job.
Tables
The activity timer log feature adds the following tables.
Table 1. Activity timer log tables
| Table |
Description |
| Time Entry [sn_at_time_entry] |
Records the time that an agent spends working on case and interaction records. Each start and stop transaction has a time associated with it. |
| Time Entry Aggregated [sn_at_time_entry_aggregated] |
Aggregates the data stored in the Time Entry table. This aggregation records the time spent per case, agent, and record type. |
Table 2. Time Entry [sn_at_time_entry] table
| Field |
Description |
| Attributes |
Attributes for the entry, such as the record state and short description. |
| Record |
Record type and number. |
| Session |
Session ID. |
| Source |
|
| Table |
The table that stores the record in the Record field. |
| Timer running |
Start and stop times. |
| Timestamp |
The timestamp for the start and stop times. |
| Transaction |
The transaction ID for a start/stop pair. |
| User |
The name or role of the user who worked on a record. |
Table 3. Time Entry Aggregated [sn_at_time_entry_aggregated] table
| Field |
Description |
| User |
The name or role of the user who worked on a record. This is a reference to the sys_user table. |
| Record |
Record number. |
| Record Type |
Record type, such as case or interaction. |
| Short Description |
Short description of the record. |
| Start Time |
Time that the agent started working on the record. |
| End Time |
Time that the agent stopped working on the record. |
| Total Time Logged |
Total time that the user spent working on the record. |
User roles
The activity timer log feature adds the following user roles:
Script include
The
ActivityTimerAggregator script include:
- Runs every 24 hours and records all the transactions from the Timer Entries table.
- Is invoked by the Activity Timer Reporting Aggregator scheduled job.
- For each record, calculates the time between each start and stop on the record.
Scheduled job
The Activity Timer Reporting Aggregator scheduled job runs once every 24 hours and generates a report. It creates an aggregation of the records stored in the Time Entry table and stores this data in the Time
Entry Aggregated table. The aggregated data is displayed in the agent's My Timelog list view.
Page properties
The activity timer log feature adds the following UI Builder page properties:
Table 4. Activity timer log page properties
| Property |
Description |
| activity_timer |
Enables the activity timer component in the workspace.
- True: Activity timer is active.
- False: Activity timer is inactive.
|
| activity_timer_custom_tables |
Specifies custom tables for the activity timer log feature. |
| activity_timer_case_type_exclusion |
Specifies case types excluded from the activity timer log feature. |