alfresco-ng2-components/docs/process-services/task-standalone.component.md
bbcodrin 54380fd693 [ADF-3237] Change and remove form from a task (#3597)
* button added for task standalone

* rebase fixed

* review fix

* test added & fixes

* refresh task details

* change and remove form added

* localize & documentation work

* tests added

* tests fixes

* tests fixes
2018-08-14 15:42:25 +01:00

1.2 KiB

Added, Status
Added Status
v2.0.0 Active

Task Standalone component

This component can be used when there is no form attached to a task.

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.
taskName string Name of the task.
taskId number Id 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 "Show Form" button is clicked.