-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
Context:
- For the process definition selection screen, we want to display previews of the diagrams for the available process definitions. Currently, we need to request every diagram separately
AT:
- The endpoint to retrieve the list of process definitions (/process-definition) contains a way to also include the bpmn xml of the process definition (e.g. /process-definition?includeXml=true)
HInt
curl -XGET 'localhost:9200/optimize/_search?pretty' -H 'Content-Type: application/json' -d' { "query": { "match": { "id": "aProcess:1:fead19d0-12e4-11e7-a40d-024213a09dc5" } } } '
would give you both process definition and process definition xml as documents in result set