Andy Stark e5c7ffb314 [ADF-4249] Updates for doc review (#4470)
* [ADF-4249] Updated review checker tool to work with new doc subfolders

* [ADF-4249] Updates for doc review
2019-03-20 18:12:22 +00:00

39 lines
1.2 KiB
Markdown

---
Title: Start Task Cloud Component
Added: v3.0.0
Status: Experimental
Last reviewed: 2019-03-20
---
# [Start Task Cloud Component](../../../lib/process-services-cloud/src/lib/task/start-task/components/start-task-cloud.component.ts "Defined in start-task-cloud.component.ts")
Creates/starts a 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. |