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
John BraunJohn Braun 

Send multiple static emails based on selections made in multi-select checkbox


I'm relatively new to visual workflow but have an objective I'd like to accomplish -

Based on multi-select checkbox selections, we'd like to send static emails to a group of people based on each selection.

For example, the user will be presented with a screen with a multi-select checkbox field labeled, "Teams to Email". The selections could be "Team A", "Team B", and "Team C".

Based on what teams the user checks will determine what teams receive the email alert. So if only "Team A" and "Team C" get selected, only those two groups will be emailed.

How would I accomplish this with Visual Workflow? Thanks!
ShashankShashank (Salesforce Developers) 
You will have to use choice elements in your screen and prepare a list of email addresses to provide to the "Send Email" element. Please see these youtube videos to familiarize yourself with visual workflows: