Folder 1
Set job private data:
Code: Select all
Pattern=(one|two)
Set job private data:
Code: Select all
Pattern=(three|four)
Set job private data:
Code: Select all
Pattern=(five|six)
Define regular expression:
Code: Select all
Example_[Job.PrivateData:Key="Pattern"].pdf
Example_(one|two).pdf (match Example_one.pdf or Example_two.pdf)
Example_(three|four).pdf (match Example_three.pdf or Example_four.pdf)
Example_(five|six).pdf (match Example_five.pdf or Example_six.pdf)
I don't think I could use simple filters because ? and * wildcards aren't enough for what I need to match. My alternative is to have, for example, 3 entirely separate Scan Hierarchy elements for each of the incoming folders, but having only 1 would keep things easier to maintain.