I am new to SharePoint coding and am wondering if there is any type of conditional formatting which will allow there to be an email sent to a specific group when a certain drop-down is selected. For example, if someone was to input a new item in my list and select Level 1, it would email all the people on that list. Ideally I would like to be able to filter out who gets emailed by what is selected when the new item is being added.
1 Answer
You can achieve in a couple of steps. Below is an example which you can refer for your requirement.
- Create a workflow variable for
emailRecipients
andemailSubject
. - Add IF conditions and check your field value matches to your condition and set workflow variable. Then the flow will look like as follows.
**How to set emailRecipients
variable with people of group field in your current item.
How to set workflow variables for email action
Note: If you want conditional email body then you can create a one more workflow variable like emailBody
and set the value same as emailSubject
.