Skip to main content
Inspiring
Nov 21, 2022 12:10 PM UTC
Solved

Daily delete files older than 15 days from temp folder

Hello!

I have a process to daily delete files older than 15 days from temp folder. Right now it deletes all files from this folder with the node Delete Folder Content.

Howe can i configure it to keep those ones created in the last 15 days?

Thanks!

vinays024987
Inspiring
Nov 21, 2022 12:25 PM UTC

You can use "Delete Document Created Before Date"  Smart service and directly pass today()-15 in Delete before date parameter.

4 replies

Inspiring
Nov 21, 2022 12:20 PM UTC


update: So i now how to set it to a specific date, but not how to configure it to delete only the older than 15 days

vinays024987
Inspiring
Nov 21, 2022 12:25 PM UTC

You can use "Delete Document Created Before Date"  Smart service and directly pass today()-15 in Delete before date parameter.

New Participant
May 30, 2023 8:42 AM UTC

Hello, I can't find the "Delete Document Created Before Date"  Smart service anymore. is it normal ?

mathieud0001
Genius
May 30, 2023 10:19 AM UTC

You need to install the Content Tools plugin.

[View:https://community.appian.com/b/appmarket/posts/content-tools]