Exercise 2: Sorting by file name pattern

Instruction

Duplicate the flow you created in exercise 1 and change the sorting method; instead of sorting based on file type, now the input should be sorted on file name pattern:
  • If the file name contains Part1 (e.g. JobsPart1.pdf or Part1_jobs.pdf), it should be moved to the PDFs folder.
  • All other files should be moved to a folder named All other files.
Note: This type of flows can be useful when receiving files from a Web to Print system, or for any workflow where the file name can contain file name patterns to identify job type, color model or other characteristics that are important to your workflow.

Test files

Download the test files: http://www.enfocus.com/manuals/Extra/Switch/Switchtutorial.zip

Solution

  • Review the step-by-step solution.
  • Check the result in your own copy of Switch. To do so, import Tutorial 1B Flow.sflow (included in the zip package, under Tutorial Flows) by selecting Flows > Import Flows .
  • Have a look at the video explaining how to build this flow http://youtu.be/GIwDS8kvnvw.