Start a process instance
Swagger UIyaml/process-api/ runtime/ process-instancesNote that also a *transientVariables* property is accepted as part of this json, that follows the same structure as the *variables* property.
Only one of *processDefinitionId*, *processDefinitionKey* or *message* can be used in the request body.
Parameters *businessKey*, *variables* and *tenantId* are optional.
If tenantId is omitted, the default tenant will be used.
It is possible to send variables, transientVariables and startFormVariables in one request.
More information about the variable format can be found in the REST variables section.
Note that the variable-scope that is supplied is ignored, process-variables are always local. Example: Example: Example: Example: Example: Example: Example: Indicates the process instance was created. · ProcessInstanceResponse Example: Example: Example: Example: Example: Example: Example: Example: Example: Example: Example: Example: Example: Example: Example: Example: Example: The stage plan item instance id this process instance belongs to or null, if it is not part of a case at all or is not a child element of a stage Example: Request body application/json · ProcessInstanceCreateRequest
processDefinitionIdstringoneTaskProcess:1:158processDefinitionKeystringoneTaskProcessmessagestringnewOrderMessagenamestringmyProcessInstanceNamebusinessKeystringmyBusinessKeyvariablesRestVariable[]transientVariablesRestVariable[]startFormVariablesRestVariable[]tenantIdstringtenant1overrideDefinitionTenantIdstringoverrideTenant1Responses
idstring187urlstringhttp://localhost:8182/repository/process-definitions/processOne%3A1%3A4namestringmyProcessInstanceNamebusinessKeystringmyBusinessKeybusinessStatusstringmyBusinessStatusprocessDefinitionIdstringoneTaskProcess:1:158processDefinitionUrlstringhttp://localhost:8182/repository/process-definitions/processOne%3A1%3A4processDefinitionNamestringA process definition nameprocessDefinitionDescriptionstringA process definition descriptionactivityIdstringprocessTaskstartUserIdstringjohnDoestartTimestring2018-04-17T10:17:43.902+0000superProcessInstanceIdstring3variablesRestVariable[]callbackIdstring3callbackTypestringcmmnreferenceIdstring123referenceTypestringevent-to-bpmn-2.0-processpropagatedStageInstanceIdstringtenantIdstringsomeTenantId
requiredGrey names have no description in the spec