Page 1 of 1

Sort Folder with XML and Folder without

Posted: Wed Feb 21, 2018 4:33 pm
by Gilmore Buckets
I have a flow where the jobs enter the same input folder location. I have a situation where one folder is named AAA with files and an associated XML named AAA.xml and another folder named BBB with just files and no XML. I want the folder with associated XML to go to an XML pickup and the folder with no XML to go down a different path. Anyone have any suggestions on how to make this happen. Thanks.

Re: Sort Folder with XML and Folder without

Posted: Wed Feb 21, 2018 5:02 pm
by jan_suhr
Set the condition of the connection to include jobs with [Job.NestedName] contains .xml and for the other connection to include "All other jobs".

This will sort all folders that have any XML-files in it to one folder and all other folders to the other folder.
Screenshot 2018-02-21 17.02.07.jpg
Screenshot 2018-02-21 17.02.07.jpg (14.15 KiB) Viewed 3737 times

Re: Sort Folder with XML and Folder without

Posted: Wed Feb 21, 2018 6:02 pm
by Gilmore Buckets
Thanks. It worked great!