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

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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

Highlighted

Works perfectly, thanks very much.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (14,087)