Fetches the Task Audit information in PDF or JSON format.

adf-task-audit-directive

Basic Usage

<button
    adf-task-audit
    [task-id]="taskId"
    [download]="download"
    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 when the decorated element is clicked.
fileNamestring"Audit"Name of the downloaded file (for PDF downloads).
formatstring"pdf"Format of the audit information. Can be "pdf" or "json".
taskIdstring(required) The id of the task.

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.