mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
2.5 KiB
2.5 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Start Process Cloud Service | v3.0.0 | Experimental | 2019-01-09 |
Start Process Cloud Service
Gets process definitions and starts processes.
Class members
Methods
- getProcessDefinitions(appName:
string
):Observable
<
ProcessDefinitionCloud
[]>
Gets the process definitions associated with an app.- appName:
string
- Name of the target app - Returns
Observable
<
ProcessDefinitionCloud
[]>
- Array of process definitions
- appName:
- startProcess(appName:
string
, requestPayload:ProcessPayloadCloud
):Observable
<
ProcessInstanceCloud
>
Starts a process based on a process definition, name, form values or variables.- appName:
string
- name of the Application - requestPayload:
ProcessPayloadCloud
- Details of the process (definition key, name, variables, etc) - Returns
Observable
<
ProcessInstanceCloud
>
- Details of the process instance just started
- appName:
Details
You 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.