[PATCH] /processes
/api/bpm/processes
Description | Within this endpoint a batch of processes can be suspended, activated, canceled, deleted or unlocked. In the request body, the following has to be sent: a list of processes together with the action (each process can have a different action) which should be performed. Possible actions are:
In the response, the status for each process sent is send back after applying the action:
If the status of a process could not be changed, the return status is "error".
When deleting a non-existing process, the action is interpreted as successful. When unlocking a non-existing process, the action is interpreted as successful. | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Required Systemrole | R_WFADM_START (ID = 20) | ||||||||||||
Request | PATCH | ||||||||||||
Optional Request Query Parameter |
| ||||||||||||
Response | JSON | ||||||||||||
Minimum Version | 1.0.0 | ||||||||||||
Request | {
"objects": [{
"id": "2A42437656884AB6A90171C07D8C3870",
"action": "activate"
},{
"id": "8A5C400C277B499CA26ED17E67F84841",
"action": "activate"
}]
} | ||||||||||||
Result | {
"objects": [{
"id": "2A42437656884AB6A90171C07D8C3870",
"state": "active"
},{
"id": "8A5C400C277B499CA26ED17E67F84841",
"state": "active"
}],
"numItems": 2,
"hasMoreItems": false,
"totalNumItems": 2
} | ||||||||||||
Response Codes |
|