Starts a process.
<adf-cloud-start-process
[appName]="YOUR_APP_NAME">
</adf-cloud-start-process>
Name | Type | Default value | Description |
---|---|---|---|
appName | string | "" | (required) Name of the app. |
maxNameLength | number | MAX_NAME_LENGTH | Maximum length of the process name. |
name | string | "" | Name of the process. |
processDefinitionName | string | Name of the process definition. | |
showSelectProcessDropdown | boolean | true | Show/hide the process dropdown list. |
showTitle | boolean | true | Show/hide title. |
values | TaskVariableCloud [] | Parameter to pass form field values in the start form if one is associated. | |
variables | any | Variables to attach to the payload. |
Name | Type | Description |
---|---|---|
cancel | EventEmitter < ProcessInstanceCloud > | Emitted when the starting process is cancelled |
error | EventEmitter < ProcessInstanceCloud > | Emitted when an error occurs. |
formContentClicked | EventEmitter < ContentLinkModel > | Emitted when form content is clicked. |
processDefinitionSelection | EventEmitter < ProcessDefinitionCloud > | Emitted when process definition selection changes. |
success | EventEmitter < ProcessInstanceCloud > | Emitted when the process is successfully started. |
<adf-cloud-start-process
[appName]="YOUR_APP_NAME"
[name]="PROCESS_NAME"
[processDefinitionName]="PROCESS_DEFINITION_NAME">
</adf-cloud-start-process>
You can use the processDefinitionName
property to select which process will be selected by default on the dropdown (when there is more than one process to choose from). Use the name
property to set the name shown on the dropdown item.
If the app contains only one process definition, this process definition will be selected by default
<adf-cloud-start-process
[appName]="YOUR_APP_NAME"
[variables]="{ 'my-key1' : 'myvalue', 'my-key2' : 'myvalue2'}">
</adf-cloud-start-process>
<adf-cloud-start-process
[appName]="YOUR_APP_NAME"
[values]="[{'name': 'firstName', 'value': 'MyName'}, {'name': 'lastName', 'value': 'MyLastName'}]">
</adf-cloud-start-process>
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.