-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
7.10.0
-
None
i am unable to fetch the process diagram in spring-boot.
calling /process-definition returns the definition but with diagram = null.
calling /process-definition/key/:key/diagram returns 204.
Steps to reproduce:
- Clone and run camunda-bpm-examples/spring-boot-starter/example-web
- Call endpoints (Key: Sample) with BasicAuth User: user Password: password
Hi arndt_s,
This endpoint is used to return an image of the model, if one is available. The image needs to be a png, gif, etc. The example-web project doesn't provide an image for the Sample process, so the HTTP 204 code is provided, meaning that the process definition doesn't have an associated diagram image. You can also see this topic in the forum: https://forum.camunda.org/t/unable-to-get-process-diagram/4321
Since this is not actually a bug, but an expected behaviour (see https://docs.camunda.org/manual/latest/reference/rest/process-definition/get-diagram/), I am closing this ticket.
Best,
Nikola