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
SudhanwaSudhanwa 

Querying the email alerts

Can we query the Additional email addresses from Email alerts to do a mass update of all those additional addr to a common email address?

 

Whenever I refresh a test (full copy) sandbox with production copy, all the additional email alerts will have 'real' email ids of the users or queues.  Right now I am manually changing them back to some common email address. I thought of writing a controller that can query these WFR's or Email alerts and perform a mass update. Is this possible? Please advise.

 

Ditto for queues.

 

Thanks,

Sudhanwa.