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

Only send items owned by user when generating HTML table

I've created a flow to run once a week that checks for items that are "Overdue". This generates a table of the items, showing detail/id/owner etc.

 

This table is then sent out to all the people within the list that have an overdue item. I've been asked if this can be changed so the table only shows the items they own that are overdue. 

 

Below is my flow for this.
table flow.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

And the output generated.


table output.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

So each item owner would get a table as above, but only showing themselves/their own items.


Thanks

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Only send items owned by user when generating HTML table

Hi @aobr31569 ,

 

What can be done now is to send each owner the item they own for meet the conditions.

It seems that you have configured Filter Query in Get items to filter the eligible items.

 

You could first group by Owner, then filter out the items they own, and then create an HTML table.

 

The troublesome point here is that when configure Create HTML table action, there may be no direct Dynamic content to use, because the data filtered by Filter array is used as the Data Source.

You need to get the value of the corresponding field through Expression. Basically it is the form of item()[‘ColumnName’]. You could configure the Expression by selecting the name of the field inside Body after Get items action.

9.PNG

Image reference:10.PNG

 

11.PNG

 

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Only send items owned by user when generating HTML table

Hi @aobr31569 ,

 

What can be done now is to send each owner the item they own for meet the conditions.

It seems that you have configured Filter Query in Get items to filter the eligible items.

 

You could first group by Owner, then filter out the items they own, and then create an HTML table.

 

The troublesome point here is that when configure Create HTML table action, there may be no direct Dynamic content to use, because the data filtered by Filter array is used as the Data Source.

You need to get the value of the corresponding field through Expression. Basically it is the form of item()[‘ColumnName’]. You could configure the Expression by selecting the name of the field inside Body after Get items action.

9.PNG

Image reference:10.PNG

 

11.PNG

 

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

aobr31569
Level: Powered On

Re: Only send items owned by user when generating HTML table

Works perfectly, thanks very much.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (7,239)