You need to sign in to do that
Don't have an account?
smitha george 5
Writing a Trigger..
Hi,
Can you write an apex trigger to assign all incoming leads in a Round-Robin fashion to users based on the following criteria
The same logic applies to international leads.
Thanks in Advance..
Can you write an apex trigger to assign all incoming leads in a Round-Robin fashion to users based on the following criteria
- If the lead RecordType = ‘US Lead’, then assign the lead to users with country = ‘USA’
- If the lead RecordType = ‘International’, then assign the lead to users with Country != ‘USA’
The same logic applies to international leads.
Thanks in Advance..
Why don't you try to use Omni-Channel? Omni-Channel is to assign Leads by workload and you save your time developing the trigger.
How Does Omni-Channel Routing Work:
- https://help.salesforce.com/articleView?id=omnichannel_routing.htm&language=en_GB&type=0
Hope the information helps.Best Regards,
Nagendra.
Please i want to write trigger only..