[PUT] /{id}/state
/api/bpm/process-definitions/{id}/state
Description | Changes the state of a workflow model. The id of the process definition whose state should be changed is passed as a path parameter. The following states can be set in the request body:
Optionally, an organizationId could be sent if process definitions for the nonactive organization should be retrieved. By default, the active organization will be used. |
|---|---|
Required Systemrole | R_WFEDIT_START (ID = 21) |
Request | PUT |
Request Optional Query Parameter |
|
Minimum Version | 1.5.0 |
Request |
{
"state": "EDIT_LOCKED"
} |
Response codes |
|