Update start-process.component.md

This commit is contained in:
jdosti
2018-01-25 10:27:31 +00:00
committed by GitHub
parent 87101d4e85
commit d92b791d32

View File

@@ -8,7 +8,7 @@ Starts a process.
```html
<adf-start-process
appId="YOUR_APP_ID" >
[appId]="YOUR_APP_ID">
</adf-start-process>
```
@@ -18,7 +18,7 @@ Starts a process.
| ---- | -- | ----------- |
| appId | `number` | (optional): Limit the list of processes which can be started to those contained in the specified app |
| name | `string` | (optional) name to assign to the current process |
| processDefinitionId | `string` | (optional) definition ID of the process to start |
| processDefinition | `string` | (optional) definition ID of the process to start |
| variables | `ProcessInstanceVariable[]` |Variables in input to the process [RestVariable](https://github.com/Alfresco/alfresco-js-api/tree/master/src/alfresco-activiti-rest-api/docs/RestVariable.md) |
| values | `FormValues` | Parameter to pass form field values in the start form if is associated |
| showSelectProcessDropdown | `boolean` | hide or show the process selection drodown, true by default |
@@ -36,7 +36,6 @@ Starts a process.
```html
<adf-start-process
[appId]="YOUR_APP_ID"
[processName]="PROCESS_NAME"
[processDefinition]="PROCESS_DEFINITION">
</adf-start-process>
```
@@ -47,7 +46,6 @@ Use this method to preselect which process to start if there is more than one pr
```html
<adf-start-process
[processName]="PROCESS_NAME"
[processDefinition]="PROCESS_DEFINITION">
</adf-start-process>
```
@@ -74,7 +72,7 @@ const formValues: FormValues = {
```html
<adf-start-process
[values]="formValues"
appId="YOUR_APP_ID" >
[appId]="YOUR_APP_ID" >
</adf-start-process>
```
@@ -111,7 +109,7 @@ Note that in the object above, the key `file` is the name of the attach file fie
```html
<adf-start-process
[values]="formValues"
appId="YOUR_APP_ID" >
[appId]="YOUR_APP_ID" >
</adf-start-process>
```