You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only return the latest process definition versions. Can only be used together with 'key', 'keyLike', 'resourceName' and 'resourceNameLike' parameters, using any other parameter will result in a 400-response.
This does not seem to be true in practice. If you omit those parameters but still use "latest=true" you do get the latest version of each process definition with an HTTP error 200 status code.
I assume the "Latest version" filter in Flowable UI > Admin > Process Engine > Definitions uses the same API and there it also works.
Expected behavior
I guess if this is known to consistently work, the docs should be adapted. If not, I guess responding with an actual HTTP 4** error response would be better.
Additional context
Tested against Flowable 6.7.2 and 6.8.0.
The text was updated successfully, but these errors were encountered:
Describe the bug
The REST API docs for the List of process definitions API state the following for the "latest" parameter:
This does not seem to be true in practice. If you omit those parameters but still use "latest=true" you do get the latest version of each process definition with an HTTP error 200 status code.
I assume the "Latest version" filter in Flowable UI > Admin > Process Engine > Definitions uses the same API and there it also works.
Expected behavior
I guess if this is known to consistently work, the docs should be adapted. If not, I guess responding with an actual HTTP 4** error response would be better.
Additional context
Tested against Flowable 6.7.2 and 6.8.0.
The text was updated successfully, but these errors were encountered: