POST /bpm-engine/api/processes
As of Version | product version 2021 Autumn | component version | ||||||||
---|---|---|---|---|---|---|---|---|---|
Request Method | POST | ||||||||
Response Format | JSON | ||||||||
Description | Starts a process specified in a JSON structure in the request body. Meaning of HTTP status codes:
| ||||||||
Request Header | Content-Type: application/json | ||||||||
Request Example |
request body { "businessKey": "myBusinessKey", "name": "myProcessInstanceName", "processDefinitionKey": "oneTaskProcess", "variables": [ { "name": "myVariable", "scope": "myScope", "type": "myType", "value": "test", "valueUrl": "http://...." } ] } | ||||||||
Response Example | { "hasMoreItems": true, "numItems": 50, "objects": [ { "businessKey": "myBusinessKey", "completed": true, "id": 187, "name": "myProcessInstanceName", "processDefinitionDescription": "A process definition description", "processDefinitionId": "oneTaskProcess:1:00000000-0000-0000-0000-000000000000", "processDefinitionName": "A process definition name", "startTime": "2018-04-17T10:17:43.902+0000", "startUserId": "user0001", "suspended": true, "variables": [ { "name": "myVariable", "scope": "myScope", "type": "myType", "value": "test", "valueUrl": "http://...." } ] } ] } |