...
Process definitions are an object structure representing an executable process composed of activities and transitions. Business processes are often created with graphical editors that store the process definition in a certain file format. These files can be added to a deployment artifact, such as, a Business Archive (.bar) file. At the time of deployment, the engine will then parse the process definition files to an executable instance of this class, that can be used to start a ProcessInstance.Note: Use the '
List of Process Definitions |
---|
...
List of Process Definitions | ||||||
---|---|---|---|---|---|---|
Request Type | GET | |||||
Request URL | https://<Host Name>:<Port>/bpmn/repository/process-definitions | |||||
Sample URL | https://localhost:9443/bpmn/repository/process-definitions | |||||
Details | This request will display all the process definitions in the server. | |||||
Success Response Body |
|
Note: Use this request above, when you need to find a process definition id or processDefinitionKey to be sent with a request. 'id' in the response body is the processDefinitionId and 'key' is the processDefinitionKey.
Get a Process Definition | ||||||
---|---|---|---|---|---|---|
Request Type | GET | |||||
Request URL | https://<Host Name>:<Port>/bpmn/repository/process-definitions/{processDefinitionId} | |||||
Sample URL | https://localhost:9443/bpmn/repository/process-definitions/sampleJavaServiceTask:1:27503 | |||||
Details | This request is used to get a process definition uniquely using the process definition Id. | |||||
Success Response Body |
|
...