Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-1150

[QE](6.2.z)REST Query API: startDate and endDate parameters do not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.2.1
    • 6.2.0
    • Business Central
    • None
    • CR2
    • +
    • Hide
      When using the REST API to send a query about a process, using the parameters startDate or endDate yields no results even if there are processes matching the criteria. The workaround is to use the parameter startDate_min in conjunction with startDate_max, or endDate_min and endDate_max, so that they intersect only on the intended date.
      Show
      When using the REST API to send a query about a process, using the parameters startDate or endDate yields no results even if there are processes matching the criteria. The workaround is to use the parameter startDate_min in conjunction with startDate_max, or endDate_min and endDate_max, so that they intersect only on the intended date.

      Description of problem:
      When you use a process query containing either startDate or endDate as a single parameter, no process instances will be found.

      Version-Release number of selected component (if applicable):
      6.2.0 ER1

      Steps to Reproduce:
      1. Deploy and run a process.
      2. Try http://localhost:8080/business-central/rest/query/runtime/process?startDate_min=*ENTER_TODAY_HERE*
      3. See that there is a single result.
      4. Try http://localhost:8080/business-central/rest/query/runtime/process?startDate=*ENTER_TODAY_HERE*

      Actual results:
      There is no result.

      Expected results:
      The process instance started in step 1 should be returned.

      Additional info:
      Note that all date range parameters (startDate_min, startDate_max, endDate_min, endDate_max) seem to be working as expected.

              marco.rietveld Marco Rietveld (Inactive)
              tlivora Tomáš Livora (Inactive)
              Radovan Synek Radovan Synek (Inactive)
              Radovan Synek Radovan Synek (Inactive)
              Alessandro Lazarotti, Kris Verlaenen, Lukáš Petrovický (Inactive), Marco Rietveld (Inactive), Radovan Synek (Inactive), Tomas 'Sheldon' Radej
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: