Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Exclude directories in tFileList

In the tFileList component there is an option to exclude some files using regex expressions. Is there a way to do this for directories.
Say I have a Directory called MyDirectories which has 3 other directories inside of it ( Accepted,  Rejected, & Others)  . All the directories have a .txt file in them . How can I setup tFileList to exclude the .txt file in the Rejected Directory and only pick the .txt files in Accepted & Others directories.
 
Note: My Starting Directory is MyDirectories and I have checked the include subdirectories option.
MyDirectories
      Accepted
                  a.txt 
    Rejected
                 b.txt
    Others
                c.txt
Labels (2)
2 Replies
Anonymous
Not applicable
Author

Princewill,
Below design of the job will help you to get an idea of your requirement.
0683p000009MDtH.jpg
First Input component will have the path of the Accept and Other directory.
Anonymous
Not applicable
Author