Welcome to the Alfresco Builder Network

Our technical resource site is still being improved. We'd love to hear your feedback. Tell us what you think

Starts a process.

adf-start-process

Basic Usage

<adf-cloud-start-process 
   [appName]="YOUR_APP_NAME">
</adf-cloud-start-process>

Class members

Properties

NameTypeDefault valueDescription
appNamestring(required) Name of the app.
maxNameLengthnumberMaximum length of the process name.
namestring""Name of the process.
processDefinitionNamestringName of the process definition.
showSelectProcessDropdownbooleantrueShow/hide the process dropdown list.
variablesMap<string, any>[]Variables to attach to the payload.

Events

NameTypeDescription
cancelEventEmitter<ProcessInstanceCloud>Emitted when the starting process is cancelled
errorEventEmitter<ProcessInstanceCloud>Emitted when an error occurs.
successEventEmitter<ProcessInstanceCloud>Emitted when the process is successfully started.

Details

Starting a process with a default name and a pre-selected process definition name

 <adf-cloud-start-process 
      [appId]="YOUR_APP_ID"
      [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

Interested in trying Alfresco?

Try Now