I'd like to build a flow that the outputs a table of columns each day, however I only want items in the table that match a few specific conditions.
So for example, I have status column, when the status changes to the value "not select", I want power automate to collect all the items in the last 24 hours that have changed to this status and add to a table, then the table is sent in an email each morning.
So I need a reoccurring schedule flow to start, then maybe get file properties, has column changed in a condition, would this work for a start, or does the trigger need to be "when an item is modified".
Either way, how would I get it to look back over the past 24 hours only? Is this possible?
If you want to do it once a day then definitely use a recurrence trigger and a get file properties or get items. Try to filter it with an OData query, although you may not be able to get everything filtered out using just OData. Then use a Filter array to remove anything else that shouldn't be there. Use a Data select to specify the exact columns you want in the table and then convert the array to HTML. That can then be embedded in the email.
The query is case sensitive. Its @and(.... not @And(....
What error are you getting?
Try the following. I think the one you are using might be missing a parentheses. This works for me.
@And(greater(item()?['Modified'], addHours(utcNow(), -24)),less(item()?['Modified'], utcNow()))
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us on June 28 for our monthly User Group leader call!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!