Structure of query should be similar to variables, so instead of having
"executedFlowNodes":{"andLinkedIds":[{"orLinkedIds":["Task2"]}]}
we should have
"executedFlowNodes" : [ { "operator" : "...", "values" : [ "...", "..." ] }, { "operator" : "...", "values" : [ "...", "..." ] } ] }
The only operator allowed for now is "=".
The implicit sematic of the and- and or- linkage should be documented in the REST-documentation at https://hq2.camunda.com/jenkins/optimize/view/Broken/job/camunda-optimize/job/master/lastSuccessfulBuild/artifact/backend/target/docs/apidocs/resource_ProcessDefinitionRestService.html