alfresco-ng2-components/docs/process-services/task-standalone.component.md
Maurizio Vitale 8330ed2879 [ADF-3409] [ADF-3413] Standalone task - Attach/Remove forms bugs (#3670)
* Fix 3409 disable button logic
Fix 3413 change the formName based on selected form

* [ADF-3409] fixed missing import

* [ADF-3409] fixed Observable.of in of
2018-08-14 15:43:03 +01:00

1.2 KiB

Added, Status
Added Status
v2.0.0 Active

Task Standalone component

This component can be used when the task doesn't belong to any processes.

Basic Usage

<adf-task-standalone
    [taskName]= "taskname">
</adf-task-standalone>

Class members

Properties

Name Type Default value Description
hasCompletePermission boolean true Toggles rendering of the Complete button.
hideCancelButton boolean true Toggles rendering of the Cancel button.
isCompleted boolean false If true then Task completed message is shown and Complete and Cancel buttons are hidden.
taskId any Id of the task.
taskName any Name of the task.

Events

Name Type Description
cancel EventEmitter<void> Emitted when the "Cancel" button is clicked.
complete EventEmitter<void> Emitted when the form associated with the task is completed.
showAttachForm EventEmitter<void> Emitted when the form associated with the form task is attached.