Description
User Story (Required on creation):
On the processes dashboard, users can search by any criterion the historic process instance search API offers (e.g. process instance id). In the history view of a process definition when searching for instances in the respective tab, only a subset of search criteria is available. It should offer the same search options for a consistent and more powerful user experience (minus process definition id/key, etc.). Currently, users have to navigate back to the processes dashboard as a workaround.
Functional Requirements (Required before implementation):
- In the process definition history view (https://docs.camunda.org/manual/7.15/webapps/cockpit/bpmn/process-definition-view/#history-view) and when filtering process instances, all of the filtering criteria that the processes dashboard search (https://docs.camunda.org/manual/7.15/webapps/cockpit/bpmn/dashboard/#search) offers can be used
Technical Requirements (Required before implementation):
- The endpoint that is used in the process definition view is a Cockpit-internal endpoint that is not the same as the one used for the dashboard search (because the endpoints and the underlyring SQL statements offer different filtering options and return different data). We should try to find a solution that reuses the filtering options from the API endpoint.
Limitations of Scope (Optional):
- The process definition runtime view is out of scope, because it is a different backend endpoint and there is little implementation synergy if we build it for the history view. This can become another feature request if needed