Fetches the Process Audit information in PDF or JSON format.

adf-process-audit-directive

Basic Usage

<button
    adf-process-audit
    [process-id]="processId"
    [format]="'pdf'"
    [download]="true"
    mat-icon-button (clicked)="onAuditClick($event)" (error)="onAuditError($event)" >
    <mat-icon>assignment_ind</mat-icon>
</button>

Class members

Properties

NameTypeDefault valueDescription
downloadbooleantrueEnables downloading of the audit file on clicking.
fileNamestring"Audit"Name of the file to download (for PDF downloads).
formatstring"pdf"Format for the audit information (can be "pdf" or "json").
processIdstringID of the process.

Events

NameTypeDescription
clickedEventEmitter<any>Emitted when the decorated element is clicked.
errorEventEmitter<any>Emitted when an error occurs.

© 2023 Alfresco Software, Inc. All Rights Reserved.