cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Directory Browser

sjakathi
New Contributor II

Hi All
I have a requirement to browse the directory and filter the files by expression like below

I want to select the text files which is having the below naming convention.
in file filter field i have given the expression as below but it is giving the error.
($groupBy.whse+'_'+$groupBy.transaction_date+'_'+$groupBy.transaction_type)+*.txt 

sjakathi_0-1690548320549.png

Thanks 

 

2 REPLIES 2

AleksandarAngel
Contributor III

Hello @sjakathi.

The File filter property in the Directory Browser Snaps expects a string, in your case just add quotes to the file extension part.

($groupBy.whse+'_'+$groupBy.transaction_date+'_'+$groupBy.transaction_type)+'*.txt' 

Try the above expression and let me know if this solves your problem, otherwise please provide more detailed error message so we can get more details on what might be the cause.

Regards,

Aleksandar.

sjakathi
New Contributor II

Even though i have files but it is not returning any of the files.  

sjakathi_0-1690552860534.png