Create a process instance
POST {{baseUrl}}/process-instances
Create a process instance using either processDefinitionKey, processDefinitionId or message name.processDefinitionKey, processDefinitionId are same as the key, id retrieved in the create a new executable process model response respectively.message is same as the message name configured in the process model.
Request Body
{"businessKey"=>"SampleBusinessKey", "comment"=>{"includeUserIds"=>false, "message"=>"do in in", "type"=>"amet in qui"}, "includeUserIds"=>false, "message"=>"SampleMessage", "name"=>"Sample Process", "outcome"=>"SampleOutcome", "processDefinitionId"=>"976626f9-3391-11ea-b509-eeee0affefe7", "processDefinitionKey"=>"SampleKey", "returnVariables"=>true, "startFormVariables"=>[{"encryption"=>false, "name"=>"SampleVariable", "scope"=>"local", "type"=>"string"}, {"encryption"=>false, "name"=>"SampleVariable", "scope"=>"local", "type"=>"string"}], "transientVariables"=>[{"encryption"=>false, "name"=>"SampleVariable", "scope"=>"local", "type"=>"string"}, {"encryption"=>false, "name"=>"SampleVariable", "scope"=>"local", "type"=>"string"}], "variables"=>[{"encryption"=>false, "name"=>"SampleVariable", "scope"=>"local", "type"=>"string"}, {"encryption"=>false, "name"=>"SampleVariable", "scope"=>"local", "type"=>"string"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
""