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
Will EdwardsWill Edwards 

How do I write a trigger or workflow alert that sends an email based on changes in campaign member records?

I'm trying to write a trigger (I think) that will send an email whenever a specific field changes on a campaign member record. Basically, the goal is to send an email to an email address associated with a lookup field on the page. Thanks. If this can be done with a workflow alert, even better.
Raj VakatiRaj Vakati
Hi Will ,
You are trying to send an email ( this field is coming from lookup ) . You can not refer the lookup fields on workflows . Please use trigger 

Will EdwardsWill Edwards
Rajamohan, can you send over code for the trigger?