2 Replies Latest reply on May 15, 2014 1:22 AM by Maciej Swiderski

    JBPM REST Task Query

    Giovanni Catalano Newbie

      Hi everyone,

      we  are developing a GUI that uses JBPM REST API.

      We need to get a task list where task are in following states:

       

      • InProgress
      • Ready

       

      We use the following url:

       

      http://{server}/jbpm-console/rest/task/query?union=true&status=ready&status=inprogress

       

      We got the following response:

       

      <response>

      <status>BAD_REQUEST</status>

      <url>

      /jbpm-console/rest/task/query?union=true&status=ready&status=inprogress

      </url>

      <error>Inprogress is not a valid status type for a task.</error>

      </response>

       

      Is this a JBPM bug or we make any mistake?

       

      Thanks in advance.