Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1588

Unable to query process instances when business key is not set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 0.9.0
    • None
    • Management Console
    • None
    • 2020 Week 13-15 (from Mar 23)

      Business key variable with value

       "businessKeys": [], 

      , breaks data index query.

      "message": "Exception while fetching data (/ProcessInstances) : org.infinispan.objectfilter.ParsingException: ISPN028526: Invalid query: from org.kie.kogito.index.model.ProcessInstance o where and o.parentProcessInstanceId is null and o.state in (1); Parser error messages: [[statement, selectStatement, querySpec, whereClause, logicalExpression, expression, logicalOrExpression, logicalAndExpression, negatedExpression, equalityExpression]: line 1:62 state 5 (decision=33) no viable alt; token=[@21,62:62='.',<25>,1:62]].",

              ajaganat Ajay Jaganathan
              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: