-
Bug
-
Resolution: Done
-
Critical
-
6.1.0
Description of problem:
According to https://github.com/mrietveld/droolsjbpm-integration/wiki/jBPM-Rest-Query-API ... it should be possible to use parameters like: var_myobject, enddate_min, startdate_min, enddate_max, varregex_myobject, and others but when I use any of them, the request will fail with:
Exception thrown when processing request [/query/runtime/process?processinstancestatus=1&startdate_max=15:39:13&]; responding with status 400: org.kie.remote.services.rest.exception.KieRemoteRestOperationException: startdate_max is an unknown and unsupported query param for the /business-central/rest/query/runtime/process operation.
at org.kie.remote.services.rest.exception.KieRemoteRestOperationException.badRequest(KieRemoteRestOperationException.java:104) [kie-remote-services-6.2.0.CR3-redhat-1.jar:6.2.0.CR3-redhat-1]
at org.kie.remote.services.rest.QueryResourceImpl.checkIfParametersAreAllowed(QueryResourceImpl.java:164) [kie-remote-services-6.2.0.CR3-redhat-1.jar:6.2.0.CR3-redhat-1]
at org.kie.remote.services.rest.QueryResourceImpl.queryProcessInstances(QueryResourceImpl.java:77) [kie-remote-services-6.2.0.CR3-redhat-1.jar:6.2.0.CR3-redhat-1]
at org.kie.remote.services.rest.QueryResourceImpl$Proxy$$$_WeldClientProxy.queryProcessInstances(QueryResourceImpl$Proxy$$$_WeldClientProxy.java) [kie-remote-services-6.2.0.CR3-redhat-1.jar:6.2.0.CR3-redhat-1]
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info: