You need to sign in to do that
Don't have an account?
Assign lead to user with least number of open leads
I have created a web to lead form, and want the lead to be assigned to the user with the least number of open leads.
I am not sure Omni Channel would work for this use case, becuase this is not a service desk.
I was thinking of creating custom field on the User object that would keep a count of the number of open leads owned by the User, and then writing BEFORE (INSERT OR UPDATE) trigger.
Does anyone have a better solution or recommendation ?