Sort Folder with XML and Folder without

Post Reply
Gilmore Buckets
Newbie
Posts: 6
Joined: Wed Feb 21, 2018 4:16 pm

Sort Folder with XML and Folder without

Post 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.
jan_suhr
Advanced member
Posts: 592
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Sort Folder with XML and Folder without

Post 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 2730 times
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
Gilmore Buckets
Newbie
Posts: 6
Joined: Wed Feb 21, 2018 4:16 pm

Re: Sort Folder with XML and Folder without

Post by Gilmore Buckets »

Thanks. It worked great!
Post Reply