function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SkyWalkerSkyWalker 

Multi-Select Picklist Apex Trigger

Could anyone please help me with the following?  Since I am not able to include multi-select picklist on a field validation, I was going to write an apex trigger.  Could anyone tell me how I would test to see if a multi-select picklist is blank?  The priority field is of a multi-select picklist -- I would like the trigger to fire if the user did not populate the priority field but the trigger is not firing.  Any ideas?  Thanks
 
if (Trigger.new.Operational_Status__c == 'Test' && Trigger.new.Record_Type__c == '' && Trigger.new.Priority__c == '')