Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-7047

case-data not saved in CaseFileDataLog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.7.0.Final
    • 7.6.0.Final
    • Runtime Engine
    • None
    • 2018 Week 11-12

    Description

      I am doing poc on JBPM case management functionality(7.6.0-Final) and am trying to find a case instance based on case-data that I am providing during case creation using rest API:

      POST: http://localhost:8080/kie-server/services/rest/server/containers/case-poc_2.1/cases/case-poc.CasePoc/instances

      BODY:
      {
      "case-data":

      { "caseId": 1, "state": "ABC", "assignPolicy": "MANUAL", "createBy": "gagant2" }

      ,
      "case-user-assignments":

      { "owner": "jack" }

      ,
      "case-group-assignments":

      { "analyst": "rest-all" }

      }

      To Find case instances I am using:

      http://localhost:8080/kie-server/services/rest/server/queries/cases/instances?dataItemName=state&dataItemValue=ABC

      However, it is not returning the case that was earlier successfully created. On investigation I see that the "case-data" that I am passing at the time of case creation, it is getting saved in table variableinstancelog , however at the time of query, it is using table CaseFileDataLog and so not able to find the case instance.

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            gagantewari Gagan Tewari (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: