How to delete folders older than 1 month using process-studio
How to delete folders older than 1 month using process-studio
Problem statement:
I want to create a workflow using which I can delete the folder older than a month. How to do it with PS?
Solution:
- Using the
Get File names
step you can extract the Last modified date for a specific folder.
- If that date is older than 1 month then, Pass the folder name to your process.
- Finally, use the
Delete folders
step to delete a particular folder.