Gets process definitions and starts processes.
deleteProcess(appName: string
, processInstanceId: string
): Observable
<void>
Delete an existing process instance
string
- name of the Applicationstring
- process instance to updateObservable
<void>
- getBasePath(appName: string
): string
string
- string
- getProcessDefinitions(appName: string
, queryParams?: Function
): Observable
<
ProcessDefinitionCloud
[]>
Gets the process definitions associated with an app.
string
- Name of the target appFunction
- (Optional)Observable
<
ProcessDefinitionCloud
[]>
- Array of process definitionsgetStartEventFormStaticValuesMapping(appName: string
, processDefinitionId: string
): Observable
<
TaskVariableCloud
[]>
Gets the static values mapped to the start form of a process definition.
string
- Name of the appstring
- ID of the target process definitionObservable
<
TaskVariableCloud
[]>
- Static mappings for the start eventstartProcess(appName: string
, payload: ProcessPayloadCloud
): Observable
<
ProcessInstanceCloud
>
Starts a process based on a process definition, name, form values or variables.
string
- name of the ApplicationProcessPayloadCloud
- Details of the process (definition key, name, variables, etc)Observable
<
ProcessInstanceCloud
>
- Details of the process instance just startedupdateProcess(appName: string
, processInstanceId: string
, payload: ProcessPayloadCloud
): Observable
<
ProcessInstanceCloud
>
Update an existing process instance
string
- name of the Applicationstring
- process instance to updateProcessPayloadCloud
- Details of the process (definition key, name, variables, etc)Observable
<
ProcessInstanceCloud
>
- Details of the process instance just startedYou can use the startProcess
method in much the same way as the startProcess
method in the
Process service (see the Process service page
for an example). However, the cloud version
combines the process details and variables conveniently into the
ProcessPayloadCloud
object.
© 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.