How to get the amount of assigned task for a user?

Hello
Is there a way to get an output of how many tasks are currently assigned to a user? How can i check this for all users mapped to an actor?
The use case is as follows: A task should be given to the user who currently has the fewest tasks.

Many thanks in advance.

1 Like

Hi @dreiss, You can try this API:
API/bpm/humanTask?c=100&p=0&f=assigned_id=2

image

change assigned_id={{user_id}} to the id of user, then you get the lenght of response array.