alfresco-ng2-components/docs/process-services-cloud/start-task-cloud.component.md
Andy Stark 73b153e4d9 [ADF-3801] Added source links to proc services cloud and insights docs (#4042)
* [ADF-3801] Added source links for proc services cloud and insights docs

* [ADF-3801] Updated title in line with doc file name change
2018-12-05 14:36:08 +00:00

38 lines
1.2 KiB
Markdown

---
Added: v3.0.0
Status: Active
Last reviewed: 2018-23-10
---
# [Start Task Cloud Component](../../lib/process-services-cloud/src/lib/start-task-cloud/components/start-task-cloud.component.ts "Defined in start-task-cloud.component.ts")
Creates/Starts new task for the specified app
![adf-cloud-start-task](../docassets/images/adf-cloud-start-task.png)
## Basic Usage
```html
<adf-cloud-start-task
[appName]="YOUR_APP_NAME">
</adf-cloud-start-task>
```
## Class members
### Properties
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| appName | `string` | | (required) Name of the app. |
| maxNameLength | `number` | | Maximum length of the task name. |
| name | `string` | "" | Name of the task. |
### Events
| Name | Type | Description |
| ---- | ---- | ----------- |
| cancel | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<void>` | Emitted when the cancel button is clicked by the user. |
| error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when an error occurs. |
| success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when the task is successfully created. |