GET /api-web/api/bpm/process-definitions
As of Version | product version 2022 Spring | component version | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Method | GET | ||||||||||||||||||
Response Format | JSON | ||||||||||||||||||
Description | Retrieves the process definitions a user is allowed to use to start a process. This Web-API request uses the internal BPM-engine request GET /bpm-engine/api/process-definitions.
The response body contains a list of process instance data embedded in a JSON structure. Response HTTP status codes:
| ||||||||||||||||||
Request Example |
No request body | ||||||||||||||||||
Response Example |
response body { "objects": [ { "id": "dms-lite-adhoc:1:9689a57f-2cf7-11ec-84cf-867d35831bc9", "category": "http://www.flowable.org/processdef", "key": "dms-lite-adhoc", "name": "DMS Lite Adhoc Workflow v1", "description": "DMS Lite Ad-Hoc Workflow", "version": 1, "global": false, "startFormDefined": true, "suspended": false }, { "id": "dms-lite-standard:1:889414e6-ff4e-11eb-97f3-86f2decdc2b4", "category": "http://www.flowable.org/processdef", "key": "dms-lite-standard", "name": "DMS Lite Standard Workflow", "description": "DMS Lite Taskflow", "version": 1, "global": false, "startFormDefined": false, "suspended": false }, { "id": "dms-lite-taskflow:1:9689a57e-2cf7-11ec-84cf-867d35831bc9", "category": "http://www.flowable.org/processdef", "key": "dms-lite-taskflow", "name": "DMS Lite Taskflow", "description": "DMS Lite Taskflow", "version": 1, "global": false, "startFormDefined": false, "suspended": false } ], "numItems": 3, "totalNumItems": 3, "hasMoreItems": false } |