Exercise 2: Solution

This topic explains how to duplicate a flow and change the sorting method from sorting based on file type to sorting based on file name pattern.

In this example, if the file name contains Part1 (or part1), it should be moved to the PDFs folder; all other files should be moved to All other files.

  1. Duplicate Tutorial 1 Flow.
    1. In the Flows pane, click Tutorial 1 Flow.
    2. Right-click and select Duplicate flow.
  2. Rename the flow.
    1. In the Properties pane, select Name.
    2. Replace Tutorial 1 Flow [Copy] with Tutorial 1B flow.
  3. Define the new settings for sorting.
    1. Select the connection between Sort for PDF and PDFs.
    2. In the Properties pane, click the Include these jobs field.
    3. Click and select Define file patterns from the pop-up menu.
    4. In the Define file patterns: Include these jobs dialog, type *part1* and click OK. The asterisk (*) is a wild card character. The case of the characters is not taken into account; *part1* will match Part1, part1, PART1 and so on.




  4. Check your results.
    1. Save and activate the flow.
    2. Add relevant input files, for example the two tutorial 1 PDF files.
    3. Check the content of the PDFs and All other files folder (in the Jobs pane).
    Job_Part1.pdf should be routed to the PDFs folder; Job_Part2.pdf should be routed to the All other files folder.