--- Title: Process Audit Directive Added: v2.0.0 Status: Active Last reviewed: 2019-01-14 --- # [Process Audit Directive](../../../lib/process-services/src/lib/process-list/components/process-audit/process-audit.directive.ts "Defined in process-audit.directive.ts") Fetches the Process Audit information in PDF or JSON format. ![adf-process-audit-directive](../../docassets/images/adf-process-audit-directive.png) ## Basic Usage ```html ``` ## Class members ### Properties | Name | Type | Default value | Description | | ---- | ---- | ------------- | ----------- | | download | `boolean` | true | Enables downloading of the audit file on clicking. | | fileName | `string` | "Audit" | Name of the file to download (for PDF downloads). | | format | `string` | "pdf" | Format for the audit information (can be "pdf" or "json"). | | processId | `string` | | ID of the process. | ### Events | Name | Type | Description | | ---- | ---- | ----------- | | clicked | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`` | Emitted when the decorated element is clicked. | | error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`` | Emitted when an error occurs. |