Details
-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
6.x.x
-
None
Description
Description of problem:
$subj:
When I specify multiple variables in the Query REST API, the response includes union of them. There is "union" attribute available, which could be set to false, so the response would include intersection of these variables. However, it is not possible to specify union=true nor union=false when using Query API / task / variables
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
http://localhost:8080/business-central/rest/query/runtime/task?vid=var1&vv=1&vid=var2&vv=2&union=false
http://localhost:8080/business-central/rest/task/query?&vid=var1&vv=1&vid=var2&vv=2&union=false
Both queries returns BAD REQUEST. The intention is to display
All tasks which are bound to a process which fulfills this criteria:
var1=1 && var2=2
Instead (after removing union attr) it returns all tasks which are bound to a process which fulfills this criteria:
var1= || var2=2
and unfortunately this behavior is not changeable.. I have checked the implementation, and there does not appear to be any workaround for this (but I may have be wrong of course..)
Actual results:
It is not possible to set union attribute when using query api with task / variables over the REST
Expected results:
It is possible to set union attribute when using query api with task / variables over the REST
Additional info: