0 Replies Latest reply on Oct 29, 2013 6:14 AM by bartsimp

    jBPM6 no results in REST query with status=Reserved

    bartsimp

      Hi folks,

       

      In my java class I execute sequentially the following two rest query but I got inconsistent results...

       

      (request)

      http://localhost:8080/jbpm-console/rest/task/query?taskId=6

      (result)

      taskSummaryList.getResult().size()=1

      taskSummary.getId()=6

      taskSummary.getStatus()=Reserved

       

       

      (request)

      >> http://localhost:8080/jbpm-console/rest/task/query?status=Reserved

      (result)

      taskSummaryList.getResult().size()=0

       

       

      why the second request returns 0 if the previous request shows that exists a task with status=Reserved?

       

      Thanks in advance!