Process only certain input folders

Post Reply
abonsey
Member
Posts: 98
Joined: Fri May 24, 2013 5:10 pm

Process only certain input folders

Post by abonsey »

I have a single input folder that receives PDFs in a containing folder with a date applied to it eg:
the folder today would be 16-01-14 and contain 10 PDFs which I want to process.
The problem I have is that another folder might appear with another date eg 16-01-16 that also has PDFs in it.
My question is how do I leave that folder and its contents untouched until the date becomes 16-01-16?

I have been successful in processing only the folder with today's date but cannot work out how to keep the other folder until the required date.

Thanks for any help
User avatar
gabrielp
Advanced member
Posts: 577
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Process only certain input folders

Post by gabrielp »

Weird date format. Why don't you just move out all folders from the starting folder, if the folder date == today's date. Then, if not, put it into a hold, then back to the original folder. If you didn't put the hold there, it would just keep trying the folder over and over.
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
abonsey
Member
Posts: 98
Joined: Fri May 24, 2013 5:10 pm

Re: Process only certain input folders

Post by abonsey »

Hi,
Thanks for the response. It's using an American date format from a customer.
I have added a looping "Hold" that should address the issue as you guided to in your guidelines
Post Reply