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

Monthly reminder Error

Dear all

 

I am building a flow that sends Emails with a list of open tasks to task owners via Email each month. 

There are two special problems to solve.

1. Problem: First, the list contains multiple tasks for each person. However I dont wanna send e.g. 10 Emails to a task owner but only 1 Email with all 10 tasks inside. 

2. Problem: Second, I would like to send only Emails with open tasks. Other statuses like unassigned or fulfilled do not interest me.

 

Here are some pictures of my flow. Most of it tries to solve problem 1 (duplicate emails). I believe. For reference, I am using the solution of this post. Solved: SharePoint list - send email multi person column - Power Platform Community (microsoft.com)

 

Last is the email, in the middle I wanna set a condition Status = 

 

Teflonreis_0-1655104042037.png

 

Teflonreis_3-1655104134602.png

 

Teflonreis_4-1655104162311.png

 

Teflonreis_6-1655104584129.png

 

The flow fails at For Each Assigned to already, which must be array not string. I thought Object to array solves that.

 

If anybody has inputs, your help is much much appreciated

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yujincui-msft
Community Support
Community Support

Hi @Teflonreis ,

 

I have made a simple test for your reference.

 

1. Here is my list.

vyujincuimsft_0-1655283188119.png

2. Here is my flow.

TaskStatus eq 'Ongoing'
union(variables('PEOPLE'),variables('PEOPLE'))
items('Apply_to_each_2')
item()?['field name']

vyujincuimsft_1-1655283859032.png

vyujincuimsft_3-1655283963523.png

vyujincuimsft_4-1655284219803.png

vyujincuimsft_5-1655284287042.png

Result Screenshot:

vyujincuimsft_6-1655284401010.png

 

 

Best Regards,
Charlie Choi

View solution in original post

2 REPLIES 2
v-yujincui-msft
Community Support
Community Support

Hi @Teflonreis ,

 

I have made a simple test for your reference.

 

1. Here is my list.

vyujincuimsft_0-1655283188119.png

2. Here is my flow.

TaskStatus eq 'Ongoing'
union(variables('PEOPLE'),variables('PEOPLE'))
items('Apply_to_each_2')
item()?['field name']

vyujincuimsft_1-1655283859032.png

vyujincuimsft_3-1655283963523.png

vyujincuimsft_4-1655284219803.png

vyujincuimsft_5-1655284287042.png

Result Screenshot:

vyujincuimsft_6-1655284401010.png

 

 

Best Regards,
Charlie Choi

Hiii Charlie

 

Wooow I struggled with filtering. Thank you for this comprehensive solution to the whole problem.

Bless you. I am in debt of you. 

Wish you an amazing week and

 

Best regards 

Bob

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (2,773)