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

Weekly email digest - new items in SPO list

Hi!
I am trying to build a flow that emails a weekly summary of new items that were added to a SPO list. 

The flow runs successfully but my filter array output is [] although it should return item info?

 

FilterArray:

@greater(ticks(item()?['Created']), variables('reportingPeriodTicks'))

 

Capture.JPG

 

I also tried the following with the same result: 

 

Capture2.JPG

 

I do not really understand where I am going wrong.. ?

 

1 ACCEPTED SOLUTION

Accepted Solutions
DanielaHo
Level: Powered On

Re: Weekly email digest - new items in SPO list

I resolved it... the problem was that the 'Get items' was capped at retrieving the first 100 items and stopped afterwards. Going into 'Get items' settings I was able to increase the number of retrieved items, which subsequently returned everything. 🙂

Thanks all for your help though! 

View solution in original post

5 REPLIES 5
Community Support Team
Community Support Team

Re: Weekly email digest - new items in SPO list

Hi @DanielaHo ,

 

Please try using the following expression in Filter array:

@greater(item()?['Created'], addDays(utcNow(), -7, 'yyyy-MM-dd'))

Image reference:6.PNG

In addition, please ensure that there are qualified items in the list.

Please try again.

 

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.
Dual Super User
Dual Super User

Re: Weekly email digest - new items in SPO list

Hi, 

 

Can you check what dat you are getting without using the array and the filters? 

daaa.png

Hope this Helps!

DanielaHo
Level: Powered On

Re: Weekly email digest - new items in SPO list

Hi All, 

 

Thanks for your responses - however it still is not resolved unfortunately... 

 

@greater(item()?['Created'], addDays(utcNow(), -7, 'yyyy-MM-dd'))

 

DanielaHo
Level: Powered On

Re: Weekly email digest - new items in SPO list

I resolved it... the problem was that the 'Get items' was capped at retrieving the first 100 items and stopped afterwards. Going into 'Get items' settings I was able to increase the number of retrieved items, which subsequently returned everything. 🙂

Thanks all for your help though! 

View solution in original post

Community Support Team
Community Support Team

Re: Weekly email digest - new items in SPO list

Hi @DanielaHo ,

 

Try this method:

ticks(item()['Created'])

is greater than

ticks(addDays(utcNow(),-2,'yyyy-MM-dd'))

Image reference:

13.PNG14.PNG

 

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.

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

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

Top Solution Authors
Top Kudoed Authors
Users online (4,885)