Skip to main content

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.

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

successfully created

Schema
  • data object

    A process instance

  • processDefinitionKey int64

    Key of the process which this instance was created for

  • bpmnProcessId string

    BPMN process id of the process which this instance was created for

  • version integer

    Version of the process which this instance was created for

  • processInstanceKey int64

    Unique key of the created process instance on the partition

  • error string

Request

Body required
{
"bpmnProcessId": "string",
"processDefinitionKey": 0
}
curl / cURL
curl -L -X POST 'https://korthout.github.io/process-instances' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"bpmnProcessId": "string",
"processDefinitionKey": 0
}'