Search task by date

1
+1
-1

Hi.

I need to search tasks where reached_state_date > "xyz" using REST API
Can't find it in documentation
http://documentation.bonitasoft.com/6.x-7.2/bpm-api-849#humantask

version 7.2

Can anyone help me please?!

1 answer

1
+2
-1

Hi,

The options on the REST Api doesn't provide a search capability to return data that are greater than or less than. So it leaves you with 3 options:

  1. You sort the result of your REST Api call by using the option 'o'. Then you filter the result on the client side using Javascript.

  2. You store the information about the reached start date in a BDM object, then you declare a custom query. This custom query can be called with a REST Api .

  3. You create your own REST Api extension and you deploy it in the Portal.

Notifications