Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Brett JJ
2019-10-22T18:58:03Z
I'd like to create a workflow that X days after a folder is created, that it is deleted. Is there a way to fire a trigger when the folder is first created and then have it wait. From what I can tell, this isn't the way that Visualcron is setup, is that right?

I mean, I know I can filter files based off dates, but I'd prefer to do it the other way and was wondering if that was at all possible.

Thanks!
Sponsor
Forum information
Gary_W
2019-10-22T19:36:26Z
Wouldn't you risk deleting files that have not been processed? Sounds risky to me but then I don't know your full requirements.
Brett JJ
2019-10-22T23:39:45Z
We have a client requirement that data with PII that they provide us must be purged 90 days after they're supplied. Jobs are usually finished within 30
Support
2019-10-23T10:02:53Z
Originally Posted by: Brett JJ 

I'd like to create a workflow that X days after a folder is created, that it is deleted. Is there a way to fire a trigger when the folder is first created and then have it wait. From what I can tell, this isn't the way that Visualcron is setup, is that right?

I mean, I know I can filter files based off dates, but I'd prefer to do it the other way and was wondering if that was at all possible.

Thanks!



You can use the "List folders" and then filter the Date, and then put desired value there. Then you can use a loop for delete folder/files or what you want to delete to loop through that and on match, it deletes when its older than X days (the value you set on the date)
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top