You need to sign in to do that
Don't have an account?
SharathKumar Reddy
How to compare multi-picklist field with picklist in apex query?
contact con = [select id from contact where Account.Multipicklist__c Includes (picklist__c)];
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
>> https://salesforce.stackexchange.com/questions/204632/compare-multi-picklist-field-values-between-two-different-object
As mentioned in the above link, if you are trying to compare multi picklist values from two objects you can use the snippet in the link, for quick reference I am adding the best answer below:
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
Hi Anutez,
I need to compare multipicklist and picklist vlaues in filter condition
For Example: Multipicklist__c contains valuee are A,B,C
Picklist contains value is B then only i will fetch records,
Example 2: Multipicklist__c contains valuee are A,C
Picklist contains value is B then i will not able to fetch records,
Note: Whatever the value is there in picklist, same value should be there in multipicklist then only condition true