Announcements
Hi, I currently have a collection that saves orders. I have a PowerAutomate system that will email these orders daily. I need to find a way to clear the collection every daily as to not send previous emails. Is there a way to set a timer to clear the collection daily?
@ZhangAndy209
RemoveIf(collection, OrderDate <> Today) on a button OnSelect or the OnVisible of the screen.
Change OrderDate to whatever your column name is for the order date.
This doesn't work, it seems to be deleting all my orders now.
I changed it to RemoveIf(collection, OrderDate <> Today()-1) to delete all the orders from yesterday rather than the day of and it works.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 476
WarrenBelz 365 Most Valuable Professional
Vish WR 339