Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 19 characters in body
Source Link
Adrian Larson
  • 151.4k
  • 38
  • 247
  • 431

I have an object called Project__cProject__c. It has a multi select picklist field called "Markets__c"Markets__c. So

So a ProjectProject can have multiple marketsMarkets. On the other side, ContactContact object has a field called "Market__c"Market__c. I

I need to have a trigger to send an email to the contacts if "Project__c.Markets__c"each Contact record where Project__c.Markets__c field contains the value of "ContactContact.Market__c.Market__c" field

I have an object called Project__c. It has a multi select picklist field called "Markets__c". So a Project can have multiple markets. On the other side, Contact object has a field called "Market__c". I need to have a trigger to send an email to the contacts if "Project__c.Markets__c" field contains the value of "Contact.Market__c" field

I have an object called Project__c. It has a multi select picklist field called Markets__c.

So a Project can have multiple Markets. On the other side, Contact object has a field called Market__c.

I need to have a trigger to send an email to each Contact record where Project__c.Markets__c field contains the value of Contact.Market__c.

Source Link

Trigger to send email based on Multi-Select Picklist

I have an object called Project__c. It has a multi select picklist field called "Markets__c". So a Project can have multiple markets. On the other side, Contact object has a field called "Market__c". I need to have a trigger to send an email to the contacts if "Project__c.Markets__c" field contains the value of "Contact.Market__c" field