You need to sign in to do that
Don't have an account?
petec@i2isys
Incorrect number of parameters for function 'CASE()'. Expected 2, received 2
Hi,
I'm trying to create a validation rule that checks to see if the Primary Campaign Source is on the Opportunity record AND if the Opportunity is New AND if any of the four Opportunity Types are in play. Below is my formula. But I'm getting an error that says expected 2 parameters and received 2. I've never seen that before, usually the numbers don't match. Any ideas?
AND(
ISNULL( Campaign.Id ),
ISNEW(),
OR(
CASE( Type , "Business Development (New Business)"),
CASE( Type , "Payer (New Business)"),
CASE( Type , "Perpetual (New Business)"),
CASE( Type , "Subscription (New Business)")))
I'm trying to create a validation rule that checks to see if the Primary Campaign Source is on the Opportunity record AND if the Opportunity is New AND if any of the four Opportunity Types are in play. Below is my formula. But I'm getting an error that says expected 2 parameters and received 2. I've never seen that before, usually the numbers don't match. Any ideas?
AND(
ISNULL( Campaign.Id ),
ISNEW(),
OR(
CASE( Type , "Business Development (New Business)"),
CASE( Type , "Payer (New Business)"),
CASE( Type , "Perpetual (New Business)"),
CASE( Type , "Subscription (New Business)")))
All Answers
Use this