Details
Description
Environment (Required on creation):
Tomcat EE 7.15.0
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
When I search for a variable instance by value, an infinite loading spinner is shown
Steps to reproduce (Required on creation):
- Open the history of a Process Instance
- go to Variables tab
- Search for "Variable Value: amount = 42"
Observed Behavior (Required on creation):
- An inifinite loading spinner is shown
Expected behavior (Required on creation):
- I get a result set of variables
Root Cause (Required on prioritization):
The Request has the wrong structure. According to https://docs.camunda.org/manual/7.15/reference/rest/history/variable-instance/post-variable-instance-query-count/, it should be
{ "variableName": "amount", "variableValue": 42 }
but is
{ "variableValue": [ { "name": "amount", "operator": "eq", "value": 42 } ] }
Solution Ideas (Optional):
- Change the request to reflect what the API expects
- Change to API to the interface we use for other searches, such as the variableValues request in the runtime: https://docs.camunda.org/manual/7.15/reference/rest/variable-instance/post-query/#request