I started to mess around with a formula field using CASE, but hit the character limit.
I used the bucket field in a report and got the "this is too complex" error or using so many.
Is a workflow the best way to accomplish this? I may have additional sources in the future that will need to be bucketed as well so I'll want to have to update in the least amount of spaces as possible.
Thanks.
10 answers
You could do this with Workflow rules. You wopuld basically need a seperate workflow though for each Bucket or Category. So you would need 8 seperate workflows. Lets use your social media as an example AND(
OR(
TEXT(Your_Field__c) = "facebook.com",
TEXT(Your_Field__c) = "twitter.com",
TEXT(Your_Field__c) = "linkedin.com"
),
OR(
ISBLANK(Your_Category_Field__c)
TEXT(Your_Category_Field__c) != "Social Media"
)
​)