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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

File Trigger in TAC

Hi All,
I created file trigger with the below settings -

Description: job_file_trigger_test
Pollint (s): 30
Folder path: \\taldev6.travelex-dev.net\C$\KalyanTalend\BCCCODA\V1_1\RAP\input
File mask: "\\d{12}_5000.*|\\d{12}_5500.*|\\d{12}_5501.*|\\d{12}_5502.*"
Exist: Checked
Created:
Modified:
Execution server: xxxx
There is no log file generated I mean job is no triggered even if file is present in the specified location.
C:\KalyanTalend\BCCCODA\V1_1\RTS\input\265920130605_5502.539377
Can you help me whether my file mask and otehr settings are correct.
Labels (2)
4 Replies
Anonymous
Not applicable
Author

Hi
1. Remove the double quotes from the file mask expression, the correct expression is:
\d{12}_5000.*|\d{12}_5500.*|\d{12}_5501.*|\d{12}_5502.*

2. The folder path should be in the machine where Job server is installed and it is selected as execution server. I see you set a Linux path in the Folder path field, but show us a windows file path C:\KalyanTalend\BCCCODA\V1_1\RTS\input\265920130605_5502.539377
Shong
Anonymous
Not applicable
Author

Thanks a lot Shong.
It's working but now the problem is that when I'm keeping only one file mask it is working.
If I keep multiple file mask it is not working and also below specified regular expressions are also not working.
I just kept the file mask as *5502.* then it is working when I add *5501.*|*5502.* it is not working.
Can you please explain how to configure the file mask ?
Anonymous
Not applicable
Author

Hi
I just kept the file mask as *5502.* then it is working when I add *5501.*|*5502.* it is not working.

Try this expression, it works for me.
.*5501.*|.*5502.*
Shong
_AnonymousUser
Specialist III
Specialist III

Hi I am trying to setup a file trigger in TAC with a file mask of the previous day's date but it does not seem to work.
The below filemask does work 100% when I use it in a tFileList component. 
File mask: "PFA2_"+TalendDate.addDate(TalendDate.getDate("yyyyMMdd"),"yyyyMMdd",-1,"dd")+"2200_D.zip"
Any help would be appreciated.
Regards,
Stephan