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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

store files in two variables using filemask

Hi

In tfilelist, using filemask I have set up two types of file mask to iterate only those kind of files.

Like

Filemask
"*.xls.taken."+TalendDate.getDate("dd-MM-yyyy")

"*.xls.Nottaken."+TalendDate.getDate("dd-MM-yyyy")

Is there any way so that I could store these type of files into two different variables ? if yes what would be the next component and how ?

if no, Please suggest any idea !!

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi 
You can initialize the value of context variable on a tJava in the beginning of job. eg:
context.taken="*.xls.taken."+TalendDate.getDate("dd-MM-yyyy")