We have a onshore queue, it should automatically get routed to one of the Pods queue through a round robin basis. We have Pod 1, Pod 2, Pod 3, Pod 4. Need to distribute cases evenly through round robin
help me please
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
You can achieve this using case assignment rules easily.
Create a trigger to set a number/text field populated incrementally using a custom setting where you can maintain a number sequence. Add your logic to fill field only if the owner criterion is met.
Logic should be assign numbers 1,2,3...x and then reset the value in a custom setting.
Create assignment rules to use this new field and perform the assignment.
Refer this similar lead assignment example with additional details and pictures.
Alternatively, you can do the assignment to the queues directly in the triggers itself instead of assigning the numbers and using assignment rules.
Let me know if you need help with pseudocode.