cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cornyoyo
Level: Powered On

Creating a distinct array of users, and sending them tasks based off of user

Hello Everybody,

 

I'm having some trouble completing a flow that 1) creates a distinct array of users based off of assignements available in a sharepoint list 2) sends only one email to the user on that list with their task(s) 3) creates an HTML table and passes to an email to send

 

I've gone through some of the other forum posts and here's what i've got.

 

I'm pulling from this test list of mine, here's what it looks like

 

Test Data Picture.jpg

and here's what i've got for my iteration of the flow, i've copied and pasted some of the formulas on the text fields in order for you to view the entire thing. I've also edited out the url's for safety. You may also have to download the image for full viewing capability.

Kenny's Flow.jpg

When I run a test, the flow runs completely and sends an email but the email is empty, and it is sent twice to the individual who is on the sharepoint list. Any suggestions? 

 

Side question: How do you format the time so that it is yyyy-mm-dd? currently I have that (^as shown above) but instead im getting year-minute-day, any way how to get month instead of the minute?

2 REPLIES 2
PoohBear
Level 8

Re: Creating a distinct array of users, and sending them tasks based off of user

Try this solution John Liu demonstrates at this link

http://johnliu.net/blog/2018/6/do-group-by-in-flow-with-two-simple-elegant-loops. As for the side question use the formatdate expression.

Super User
Super User

Re: Creating a distinct array of users, and sending them tasks based off of user

On your date side-question, change the mm to MM (caps) and that will fix it.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 356 members 5,123 guests
Please welcome our newest community members: