2 Replies Latest reply on May 15, 2014 1:22 AM by swiderski.maciej

    JBPM REST Task Query

    gio80x

      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.

        • 1. Re: JBPM REST Task Query
          adriano831

          Maybe this is not allowed because of authorization policies?

          • 2. Re: JBPM REST Task Query
            swiderski.maciej

            this was indeed bug in 6.0.0 and 6.0.1 which is already fixed. It affected the InProgress state only due to assumption only first letter is upper case for statuses. Please have a try with one of the 6.1.0 beta releases. Beta 4 is coming out soon - like next week.

             

            HTH

            1 of 1 people found this helpful