Create a new Process Instance
POST /process-instances
Creates a new process instance. This does not await for the process instance to complete, i.e. it will be executed asynchronously.
- application/json
Request Body required
A request to create a new process instance
- bpmnProcessId string
BPMN process id of the process to instantiate
- processDefinitionKey int64
Key of the process to instantiate
- variables
Variables to instantiate the process with
Responses
- 200
- 503
successfully created
- application/json
- Schema
- Example (from schema)
Schema
data object
A process instance
processDefinitionKey int64Key of the process which this instance was created for
bpmnProcessId stringBPMN process id of the process which this instance was created for
version integerVersion of the process which this instance was created for
processInstanceKey int64Unique key of the created process instance on the partition
- error string
{
"data": {
"processDefinitionKey": 0,
"bpmnProcessId": "string",
"version": 0,
"processInstanceKey": 0
},
"error": "string"
}
Unable to connect to Zeebe cluster
Loading...