I would like to get all available, unassigned task (assigned_id equal to blank or null) via API using an administrator account/profile.
Reason for this is to create an auto-assign task for users who are currently online or active. Auto-assigning will be based on availability of the user or base on his/her current assign load.
How can i filter this to the API?
If you just want to list task yous must use REST API with "Finds HumanTasks"
You can add various filters to define the tasks.
https://api-documentation.bonitasoft.com/latest/#tag/HumanTask/operation/searchHumanTasks
The problem with humanTask and userTask api is that it can't filter in assigned_id field equal to null or empty (i'm using an administrative account).
How can i filter all task without assigned_id?
I think /API/bpm/humanTask?p=0&c=100&f=state=ready&f=assigned_id=0 might work.
In my case i have only unsigned tasks.
@sjamet you are right, set value to zero works