Start a new instance of a process
The method startProcess starts a new instance of a specific process. You can enter if you would like the instance to be started synchronously or asynchronously.
The call up returns a unique identification for the started instance. In case of a synchronous start the process id of the new instance is returned. In case of an asynchronous start the task id of the new instance is returned.
Method reference
Parameters |
Data type |
Description |
|---|---|---|
soProcessInstance |
Process instance object |
|
soStepInstance |
Step instance object |
|
asynchronous |
Flag if the instance should be started asynchronously; Default value: false |
|
taskId |
Unique identification for asynchronous instance starts (optional); in case no value is handed over, the Task ID will automatically be generated |
Return value: string; Process ID for synchronous starts, Task ID for asynchronous starts of an instance