If the process definition’s deployment contains an image resource with the same file name as the process definition, the deployed image will be returned by the Get Diagram endpoint. Example: and someProcess.png. Supported file extentions for the image are: svg, , jpg, and gif.

Method

GET

GET /process-definition/key/{key}/tenant-id/{tenant-id}/diagram (returns the diagram for the latest version of process definition for tenant)

Parameters

Result

The image diagram of this process.

Response Codes

Code Media type Description
200 image/png, image/gif, … (defaults to application/octet-stream if the file suffix is unknown Request successful.
204 The process definition doesn't have an associated diagram.
404 application/json Process definition with given id or key does not exist. See the Introduction for the error response format.

Example

Request

GET /process-definition/key/invoice/diagram