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

No results from Process Query API when I query process instances with 2 or more variables

XMLWordPrintable

    • DR1
    • +
    • Hide
      When multiple variables are given for the same query parameter, the query will then search for any results that match one or more of the values entered. However, when logical operations and grouping of values is required (i.e. AND, OR, and such), the search provides no results.

      There are no workarounds for this issue at this stage.
      Show
      When multiple variables are given for the same query parameter, the query will then search for any results that match one or more of the values entered. However, when logical operations and grouping of values is required (i.e. AND, OR, and such), the search provides no results. There are no workarounds for this issue at this stage.

      Description of problem:

      I have a process definition with 2 process variables, var1 and var2. I start few process instances with different values for var1 and var2 and when I want to query one particular process instance with var1=value1 and var2=value2 I do the following request:

      http://localhost:8080/business-central/rest/query/runtime/process?processinstancestatus=1&var_var1=value1&var_var2=value2&

      However, I get no results from this request:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?><query-process-instance-result/>

      I will add a comment linking to the reproducer.

      Requesting blocker since this issue needs to be fixed in regard to BPMSPL-84.

            marco.rietveld Marco Rietveld (Inactive)
            ibek1@redhat.com Ivo Bek
            Tomáš Livora Tomáš Livora (Inactive)
            Linda Snyder Linda Snyder (Inactive)
            Tomáš Livora Tomáš Livora (Inactive)
            Anton Giertli, Kris Verlaenen, Lukáš Petrovický (Inactive), Marek Czernek (Inactive), Rajesh Rajasekaran, Tomáš Livora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: