Skip to content
Version 2.4.0Try demo
Administration

Audit and History ​

Audit & History has two jobs: the labels people can attach to history entries, and the choice of which records Horilla keeps a change history for.

Where: Settings → General → Audit & History (/settings/audit-history/).

Who: The page opens for any signed-in person, but each part shows only with its permission: History Tags needs permission to view audit tags and Audit Tracking needs permission to view audit tracking settings. Ravi, Sofia and Tom opened the address and saw only the heading and one line of description, because they hold neither. The menu entry itself only shows to people who hold one of the two permissions.

The page has two jobs: the labels people can attach to history entries, and the choice of which records Horilla keeps a change history for.

Audit and History with History Tags and Audit Tracking

  1. The tag search
  2. Create
  3. The tag list
  4. The Tracked Models box
  5. Its Save button

History Tags ​

A tag is a short label for a change, for example Salary revision or Data correction. Read from the product code: when someone saves a change that is recorded in history, the window offers a title, a description, a highlight switch and these tags, so the entry can be found later. The list has the columns Title, Highlight (Yes or No) and Actions (edit and delete icons). The sample has six: Policy update, Onboarding, Data correction, Promotion, Salary revision and Contract change; the last two are highlighted.

Click Create to add one.

Create Audit Tag window

  1. Title
  2. Highlight
  3. The Save buttons

Title is required. Highlight is a switch that makes the entry stand out in the history list. Save And Add Another keeps the window open for the next tag. The edit window ("Audit Tag Update") has the same two fields.

Audit Tracking ​

Tracked Models chooses which kinds of records get a change history. The note above it says: Choose which models should record their changes in the audit log. The default models (Employee, Employee Work Information, Employee Bank Details) are always tracked and cannot be removed. The drop-down lists 191 record types, written as the module and the name, for example attendance, Attendance Activity (default). Types that carry (default) are tracked from the start.

Two cautions, both from reading the product code:

  • The note names only three default models, but the product tracks many more by default: employee, work information and bank records, contracts, payslips, salary structures, allowances, deductions, loans, reimbursements, leave requests and balances, and attendance records. The table below the box shows the ones that are active.
  • The box opens empty even though models are active, because the stored names and the list's names are written differently. If you press Save with the box empty or only partly filled, models that are not defaults are removed from tracking. Re-pick every model you want to keep before saving, or leave this box alone and use the field editor below.

Per-model Field Selection ​

Below the box, a table lists each tracked model, the fields recorded for it (or All fields), and an Edit Fields button.

Per-model Field Selection table

  1. The column headings
  2. An Edit Fields button
  3. The models

The sample company tracks 22 models, including Employee, EmployeeWorkInformation, EmployeeBankDetails, Attendance, LeaveRequest, Payslip, Contract and Objective. One of them, Asset, records only three fields (asset_name, asset_status and asset_tracking_id); every other model records all fields. Edit Fields opens a page for that model.

Audit Fields page for one model

  1. The model name
  2. The Back link
  3. The Tracked Fields list
  4. Save Fields and Cancel

Pick the fields to record and click Save Fields, or leave the list empty to record every field. Cancel and Back return to the table without saving. We only opened this page.

You're readingSettings · Horilla 2.4.0