--- title: "How to Use Rule Audit History" slug: "use-rule-audit-history" description: "Capture Rule and Truth Table execution data in the rule_audit_history table and use it to create Reports." tags: ["Rules", "auditing", "Reports "] updated: 2026-07-13T17:00:32Z published: 2026-07-13T17:00:32Z canonical: "documentation.decisions.com/use-rule-audit-history" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # How to Use Rule Audit History ## Overview [Rule](/version-10/docs/about-rules) and [Truth Table](/version-10/docs/about-truth-tables) data can be captured and stored within the rule_audit_history table and used by [Reports](/version-10/docs/about-reports). The audit history will return data such as the execution results and the name of a particular Rule. --- ## Capture Audit History To capture the audit history for a Rule, select the Rule in the **Flow Designer** and navigate to the **Properties** panel. Under **Audit,** select the checkbox for **Capture Audit History**. When this checkbox is selected, three new inputs are added to the rule: **Rule Audit Folder ID, Rule Audit ID,** and **Rule Audit Name.** These inputs do not need to be defined to store data but can be used as filters for a Report. | Inputs | Description | | --- | --- | | Rule Audit Folder ID | A String representing the Rule's Folder ID field used for report filtering. This can be defined as the Folder ID of the executing Flow. | | Rule Audit ID | A String representing the Rule's ID field used for report filtering. This can be defined as the Rule's ID or a specific guid. | | Rule Audit Name | A String representing the Rule's Name. | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781707560087.png) --- ## Rule Audit History Report Within the Report Designer, select **Add** under **Data Sources** and expand the **Infrastructure** section, then navigate to **Rule Audit History** in the list. This Report will show multiple **Data Fields** relating to the audit. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781707658709.png) --- ## Phrase Rule Audit differences The **Phrase Rule Audit History** functions differently from Rule Audit History. The main difference is the Phrase Rule Audit History captures the anchor data and data values that were used in the Rule. **Phrase Rule Audit History** requires both **Capture Audit History** and **Capture Phrase Audit History** checked to record data. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781707714097.png)