flowable-engine icon indicating copy to clipboard operation
flowable-engine copied to clipboard

REST API Documentation For GET Historic Process Instance Shows Wrong Response

Open chaserb opened this issue 3 years ago • 1 comments

Describe the bug The following link describes the "GET Historic Process Instance" REST API Request:

https://www.flowable.com/open-source/docs/bpmn/ch15-REST#get-a-process-instance

The response object in the documentation shows a page of 1 result:

{
  "data": [
    {
      "id" : "5",
      "businessKey" : "myKey",
      ...
      "tenantId":null
    }
  ],
  "total": 1,
  "start": 0,
  "sort": "name",
  "order": "asc",
  "size": 1
}

Expected behavior Expecting an unpaged, single result from this request:

{
   "id" : "5",
   "businessKey" : "myKey",
   ...
   "tenantId":null
}

Code N/A

Additional context N/A

chaserb avatar Aug 16 '23 20:08 chaserb

Thanks for reporting this @chaserb

filiphr avatar Jan 02 '24 16:01 filiphr