Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Creating a File List from Multiple Directories

Creating a File List from Multiple Directories

In the example below, a File List variable will be created that references XML files contained in two different local directories.
  1. From within the Project Designer page, expand the Job Control folder in the Component Library, and then drag the Call Module task to the Project Outline.
  2. On the Basic tab of the Create File List Task, specify the File List Variable value:
    File List Variable
    The name of a variable that will contain the list of files being created. This will be a variable type of File List. If this variable exists, then it will be overwritten.
  3. Click the
    Add
    button in the sub-menu and select the
    File Set
    option from the sub-menu.  
  4. Within the File Set page, specify the directory containing the files.
  5. Click the
    Add
    button and choose the
    Add a Wildcard Filter
    option from the sub-menu. 
  6. Click the
    Add
    button (since the Wildcard Filter element does not have any attributes) and choose the
    Include Files
    option from the sub-menu.
  7. From the next page, specify the pattern of the files to include.  Specify a ? to match a single character.  Specify an * to match zero or more characters. For example, specify the pattern of *.xml to include all files that end with “xml”.  As another example, specify the pattern of *.* to include all files that in the directory. 
  8. From the Project outline, select the Create File List task you created.
  9. Repeat steps 3 through 7 to add another File Set that references a different directory to the File List.
  10. Click the
    Save
    button when done specifying the pattern.

0 COMMENTS

We’d like to hear from you!