function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Arun KharbArun Kharb 

How to assign Leads to two different queues in the ratio of 60% and 40% (Round robin)

I am having two queues "GOLD" and "Platinum" which are having separate group of users.
Now I wanted to assign 40% of the total leads to GOLD queue and rest 60% of the total to PLATINUM queue which all are coming from web-to-lead.

For eg. Suppose if we are getting 10 leads at a time through web-to-lead then assign 4 to GOLD queue and 6 to PLATINUM queue.

Can someone help me here?
Best Answer chosen by Arun Kharb
PratikPratik (Salesforce Developers) 
Hi Arun,

You  can refer to this:
http://www.shellblack.com/administration/create-a-round-robin-lead-or-case-assignment-rule/



Thanks,
Pratik

All Answers

PratikPratik (Salesforce Developers) 
Hi Arun,

You  can refer to this:
http://www.shellblack.com/administration/create-a-round-robin-lead-or-case-assignment-rule/



Thanks,
Pratik
This was selected as the best answer
Arun KharbArun Kharb
Hi pratik,
Thank ffor the link.
But as you were saying that i should take MOD value 2.5 but how is it possbile. Coz MOD will return only whole number and even i dont want to comlecate things.
So, i have used MOD(VALUE(filed_name)/10) and check for round robin values 0,1,2,3,4,5 for assigning to PLATINUM QUEUE and rest 6,7,8,9 for GOLD Queue. 
can you correct me what i am missing here ? Is my approach is right??
PratikPratik (Salesforce Developers) 
Hi Arun,

MOD 10 will work as per requirement!

Thanks,
Pratik