You need to sign in to do that
Don't have an account?
Tim Coates 6
Why am I getting Incorrect parameter type for function 'IF()'. Expected Boolean, received Lookup(User) error
I'm getting the following error when attempting to created this custom formula field on the Opportunity object:
LMS Opportunity Owner Auto-Poulate =
IF(
INCLUDES(Products_of_interest__c, "Learning Management System (LMS)"),
INCLUDES(Products_of_interest__c, "Schoology LMS"),
Account.LMS_Account_Owner__c)
Conditions are to set the LMS Opportunity Owner to the LMS Account Owner if Opprotunity Products of Interest = Learning Management System (LMS) or Schoology LMS.
The formula above is giving me the following error: Incorrect parameter type for function 'IF()'. Expected Boolean, received Lookup(User)
What am I doing wrong?
LMS Opportunity Owner Auto-Poulate =
IF(
INCLUDES(Products_of_interest__c, "Learning Management System (LMS)"),
INCLUDES(Products_of_interest__c, "Schoology LMS"),
Account.LMS_Account_Owner__c)
Conditions are to set the LMS Opportunity Owner to the LMS Account Owner if Opprotunity Products of Interest = Learning Management System (LMS) or Schoology LMS.
The formula above is giving me the following error: Incorrect parameter type for function 'IF()'. Expected Boolean, received Lookup(User)
What am I doing wrong?
Try the below formula:
IF(
OR(
INCLUDES(Products_of_interest__c, "Learning Management System (LMS)"),
INCLUDES(Products_of_interest__c, "Schoology LMS")),
Account.LMS_Account_Owner__c,FALSE)
I hope the Account.LMS_Account_Owner__c field in checkbox field.Please confirm.
Thanks,
Maharajan.C
Use the Insert Field Option to insert the fields in formula.
IF(
OR(
INCLUDES(Products_of_interest__c, "Learning Management System (LMS)"),
INCLUDES(Products_of_interest__c, "Schoology LMS")),
Account.LMS_Account_Owner__r.FirstName + " " + Account.LMS_Account_Owner__r.LastName
,'')
Thanks,
Maharajan.C