Skip to main content
1 of 2
Santanu Boral
  • 36.2k
  • 8
  • 45
  • 72

I think you need to use IN clause to find the matching from multi-select picklist

String strPA = [SELECT Budget_Cross_Practice__c FROM User WHERE Id = :UserInfo.getUserId() LIMIT 1][0].Budget_Cross_Practice__c;

List<Practice__c> pas = [SELECT Id, Name FROM Practice__c WHERE Name IN:strPA];
Santanu Boral
  • 36.2k
  • 8
  • 45
  • 72