If the FW is an EVENT File Monitor you don't have an option, but if you make it a FW job and let it scan into the queue you can use the system date variables, or create a variable with whatever date scenario you need in the javascript, then make that part of the file name.
%(WOB._RMM)%(WOB._RDD)%(WOB._RYEAR)
%(APPL._SDD)%(APPL._SMM)%(APPL._SYEAR)
%(APPL._SMM)%(APPL._SDD)%(APPL._SYEAR)%(APPL._SHH)%(APPL._SMN)%(APPL._SSS)
Original Message:
Sent: 04-23-2020 07:47 PM
From: Himanshu Bhalla
Subject: File watcher job
Hi all,
I have to create a File watcher job which which check the presence of one file but only the current one.
For example: File name is abc present at path ab/data/files.
Files comes to this path everyday with date convention of MMDD like Filename_0423 where mm is month and dd is date.
what should I put in place while job creation where it asks for "File(s) to watch:"
so that it will tak just the current file.