cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KJG
Frequent Visitor

Emails being sent to only first email found

Hello,

 

I have a list titled Incident Reporting. When a user creates an item in that list, they can check off multiple boxes to notify different departments if the incident impacts them. I created a separate list called Recipient List that has  Department, Employee Name, and Employee email columns to be able to list who the incident report emails should be sent to.

 

I created a flow that when an item is created or modified, if a condition is met (Notify Operations = Yes), then it will Get Items from the Recipient List (using ODATA to filter to that particular department), and then it will send an email. 

 

The problem I'm running into, is the Get Items is stopping at the first email it comes to on the Recipient List. If there are 5 people listed under Operations, it is only sending the email to the first person on the list. How can I get the flow to see all of the items with that department and send to them all?

 

KJG_0-1623868866850.png

 

Thank you in advance for any and all assistance/suggestions!

1 ACCEPTED SOLUTION

Accepted Solutions
v-LilyW-msft
Microsoft
Microsoft

Hi @KJG 

Thank you for posting.

According to your description, you want to send an email to all person who department is Operations when an item is created with Notify Operations value is Yes.

But currently email can only be sent to one person. If any misunderstanding, please kindly let me know.

Could you share me the screenshots of your lists and Get items action how is it configured?

I tried to reproduce your scenario and it can send all person who department is Operations.

You can refer to as below:

This is my Incident Reporting List

vLilyWmsft_0-1623901090522.png

This is my Recipient List

vLilyWmsft_1-1623901090526.png

Flow in details:

vLilyWmsft_2-1623901090529.png

Filter Query: Department eq 'Operations'

vLilyWmsft_8-1623901148656.png

vLilyWmsft_4-1623901090533.png

When an item is created as below:

vLilyWmsft_5-1623901090535.png

The email will be send to Test2 and LilyWang

vLilyWmsft_6-1623901090536.png

vLilyWmsft_7-1623901090537.png

Hope the content above may help you.

Best Regards

Lily

View solution in original post

2 REPLIES 2
v-LilyW-msft
Microsoft
Microsoft

Hi @KJG 

Thank you for posting.

According to your description, you want to send an email to all person who department is Operations when an item is created with Notify Operations value is Yes.

But currently email can only be sent to one person. If any misunderstanding, please kindly let me know.

Could you share me the screenshots of your lists and Get items action how is it configured?

I tried to reproduce your scenario and it can send all person who department is Operations.

You can refer to as below:

This is my Incident Reporting List

vLilyWmsft_0-1623901090522.png

This is my Recipient List

vLilyWmsft_1-1623901090526.png

Flow in details:

vLilyWmsft_2-1623901090529.png

Filter Query: Department eq 'Operations'

vLilyWmsft_8-1623901148656.png

vLilyWmsft_4-1623901090533.png

When an item is created as below:

vLilyWmsft_5-1623901090535.png

The email will be send to Test2 and LilyWang

vLilyWmsft_6-1623901090536.png

vLilyWmsft_7-1623901090537.png

Hope the content above may help you.

Best Regards

Lily

View solution in original post

KJG
Frequent Visitor

Thank you Lily! I'm not entirely certain what happened.... I rebuilt the flow exactly the same, and all emails worked as they should. Must've been a fluke!

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,492)