+ Start a Discussion
Amer SkroboAmer Skrobo 

Expected Picklist() received Text

Hi I am trying to check my PICKLIST but It gives me error mentioned above ^^

Code:

ISPICKVAL(tudent_type__c.Study_type__c,"Associate")

I am sure that type of field Study_type__c is picklist. What to do
SandhyaSandhya (Salesforce Developers) 
Hi,

Try ISPICKVAL(Study_type__c,"Associate").

or you can use TEXT(Study_type__c) == 'Associate'


What is the realtion between tudent_type__c and Study_type__c.

Please mark it as solved if my reply was helpful, it will make it available
for others as a proper solution.

Best Regards,
​Sandhya
 
Amer SkroboAmer Skrobo
tudent_type__c is Custom Object inside this Custom object there is Field of data type Picklist named Study_type__c