Please enable JavaScript to view this site.

The manual for the JobRouter developer

Navigation: Webservice > Function and usage > Process management

startProcess

Scroll Prev Top Next More

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

ServiceObject_ProcessInstance

Process instance object

soStepInstance

ServiceObject_StepInstance        

Step instance object

asynchronous

bool

Flag if the instance should be started asynchronously; Default value: false

taskId

string

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