How can we load balance task assignment amongst members of a group, such that task is assigned based on the existing work load they have?

I need to assign tasks to members of a particular group such that each member can have 10 tasks max at any moment, next task will be assigned such that load is balanced between all members of that group? Is there any out of the box functionality in camunda or perhaps a service task example built for this purpose?

HI @satish8784

there is no build in functionality for this but you could dynamically get the assignee for a user task from a bean or a variable and use standard Java Code to find out how many tasks are assigned to users of a group currently.


1 Like