Delete Outdated Information

I have a table that has several columns including one that is for dates.

Is there a way to automatically delete rows where the date has passed [Date]<TODAY()

Thanks

1 7 241
7 REPLIES 7

Hello,

You can achieve this using an action that deletes old items, combined with a workflow that will trigger that action whenever something changes.

The action should look something like this:

Note that under โ€œReferenced Rowsโ€ the formula Iโ€™m using is:

select(example table[name], [date] < today())

name should be whatever column youโ€™re using as your key.

The workflow should look something like this:

This workflow will trigger the action whenever any changes are made to the underlying table. It wonโ€™t run on a schedule, however, so if no changes are made to the table for a few days, it would still have outdated records in it until the next change happened.

I hope this helps!

That worked.

Now I am trying to add additional criteria and it doesnโ€™t work properly.

I am using the following expression:
select(Entry Form[Uniqueid], AND([Event Date]<TODAY(),[Is This An Annual Event?]=โ€œFALSEโ€))

I think you just want FALSE instead of "FALSE", without the quotes.

Awesome!!!

Do you know if there is an option in the works to trigger a workflow by a time? Say everyday at 12:10am or once a month

It turns out you can! You can make a report, set it to run on the schedule you want, and use the following settings:

I actually didnโ€™t know about this before you asked, so thanks for giving me the opportunity to go and learn something new

Great info. I need to implement a similar feature in the coming weeks.

Steve
Platinum 4
Platinum 4

For reference:

Top Labels in this Space