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
symantecAPsymantecAP 

Workflow to send an email alert

Hi ALL

 

I have a question and I am looking for work around to send email Alerts.I have 2 picklist values namely Status__c and Route__c

 

Now an Email Alert should be send initially if Status__c= Submitted for Review and Rout to = checkpoint to group of user 'A'.

and if Status_c=Submitted for Review and Route to = QuickFinder then email Alert to usergroup 'B'

etc

now Route to has 16 values and 16 different groups . I dont want to create 16 different workflow rules. Is there a way we can route the emails in a single workflow.

 

Kindly help

 

LegendLegend

Hi,

 

You can store the values of Status__c and Route__c in custom settings and use Apex code to send emails using Apex Email Classes.

 

-Thanks

 


Andy BoettcherAndy Boettcher

Could you do the negative - meaning are there any combinations that DO NOT fire off an email?

 

That - or using the advanced logic, you could do a bunch of OR statements within a single Workflow Rule.

 

-Andy