Skip to main content
November 21, 2022
Solved

Daily delete files older than 15 days from temp folder

  • November 21, 2022
  • 4 replies
  • 0 views

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!

Best answer by vinays024987

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

4 replies

November 21, 2022


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
November 21, 2022

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

May 30, 2023

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

mathieud0001
Brainy
May 30, 2023

You need to install the Content Tools plugin.

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