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

# Audit

> The Audit feature records a compliant history of form, step, question, and rule events, configurable at site, flow, or business rule level for review.

The Audit feature keeps a history of all relevant events within a form, serving both the users involved in the process and independent compliance auditors.

## Enabling the audit feature

**Event recording** can be enabled at different levels, depending on what you need to be audited, including: FlowForma Settings, Flow Level Settings, and Business Rules.

### FlowForma settings

If enabled using [FlowForma settings](/product/flowforma-settings/overview), **all newly created forms for all flows will be audited**.

<img src="https://mintcdn.com/flowforma/46u--5D7TPNcEo4x/images/product/life-science-pack/audit/audit-1.png?fit=max&auto=format&n=46u--5D7TPNcEo4x&q=85&s=e6cf3fd614c67136a744cdec2e454b64" alt="FlowForma settings audit option" width="686" height="846" data-path="images/product/life-science-pack/audit/audit-1.png" />

### Flow level settings

If enabled using Flow Settings in the Flow Designer, **all events for each form based on that flow will be audited**. This also only applies to new forms.

<img src="https://mintcdn.com/flowforma/46u--5D7TPNcEo4x/images/product/life-science-pack/audit/audit-2.png?fit=max&auto=format&n=46u--5D7TPNcEo4x&q=85&s=6c2ca72b77710058697ac0b5c9ee1f4b" alt="Flow level settings audit option" width="655" height="839" data-path="images/product/life-science-pack/audit/audit-2.png" />

### Business rules

Auditing can be enabled on selected business rules; an option appears within the business rule editor. **Only events including the execution of business rules with auditing enabled will be logged.**

<img src="https://mintcdn.com/flowforma/46u--5D7TPNcEo4x/images/product/life-science-pack/audit/audit-3.png?fit=max&auto=format&n=46u--5D7TPNcEo4x&q=85&s=4fb18ce4f7c8b90ad487d9477d1090ac" alt="Business rule editor audit option" width="595" height="522" data-path="images/product/life-science-pack/audit/audit-3.png" />

## Viewing the audit log

To produce an audit report, navigate to All Forms and select the **ITEMS** tab on the ribbon. You'll see the Audit option in the actions group.

<img src="https://mintcdn.com/flowforma/46u--5D7TPNcEo4x/images/product/life-science-pack/audit/audit-4.png?fit=max&auto=format&n=46u--5D7TPNcEo4x&q=85&s=86aec4d154e4d89fce1ba91e8dec0230" alt="Audit option in the ITEMS ribbon" width="1243" height="581" data-path="images/product/life-science-pack/audit/audit-4.png" />

A dialogue loads, displaying the logged details.

<img src="https://mintcdn.com/flowforma/46u--5D7TPNcEo4x/images/product/life-science-pack/audit/audit-5.png?fit=max&auto=format&n=46u--5D7TPNcEo4x&q=85&s=5ec277281f3844d90a0de472b980fc0d" alt="Audit log dialogue with logged details" width="1528" height="906" data-path="images/product/life-science-pack/audit/audit-5.png" />

The following events are recorded by the system:

|                       |                                                                                                                                                                 |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Node Type             | Form, Step, Question or Subquestion                                                                                                                             |
| User                  | Username of the logged in user who caused the event to occur                                                                                                    |
| Date                  | Date and time the event occurred                                                                                                                                |
| Event Type            | Form started, Step Starting, Step Saving, Step Completing, Form Saving, Form Completing, Delegate, Pass back, Business Rule Execution, Voted, Signature checked |
| Step Code             | Shows the Step Code if Node Type was a step                                                                                                                     |
| Question Code         | Shows the Question Code if Node Type was a question/SubQuestion                                                                                                 |
| Rule                  | Name of the rule and index number of the rule if there is more than one rule with the same name in the step.                                                    |
| Details (e-signature) | Capture role of signatory and purpose of signing                                                                                                                |

FlowForma Event types:

|                                  |                                                                                                                                |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Flow Started                     | When a form list item is created based on that flow                                                                            |
| Flow Completed                   | When a form reaches a completed status                                                                                         |
| Step Started                     | When a step becomes active                                                                                                     |
| Step Completed                   | When a step is successfully submitted                                                                                          |
| e-Signature Recorded             | When an e-Signature is successfully recorded                                                                                   |
| Save as Draft executed\*         | When the assigned user presses the Save as Draft button in a step                                                              |
| Delegate executed\* from button  | When the assigned user, the flow administrator or a FlowForma admin successfully delegates a step using the Delegate button    |
| Pass Back executed\* from button | When the assigned user, the flow administrator or a FlowForma admin successfully passes back a step using the Pass Back button |
| Business rule executed\*         | When any business rule action executes (i.e. rule conditions are true)                                                         |
| Voted event type                 | When the user cast their vote                                                                                                  |
| Form saving event                | When the assigned user presses the Save as Draft button in a step                                                              |
