05-26-2011 10:17 AM
Hi All,
In one of the scenarios, a job used to get triggered as soon as a file used to arrive a given location.
Now due to business change, two files will come to the same path(different file names).
Please assist me how can we trigger the job only if both the files are in place.
We will not come to know the order in which the files will arrive.
thanks
05-27-2011 5:19 PM
I am not sure how you have setup the batch job to be triggered immediately once a file is received (normally we have batch jobs running every 5 mins to check the files in a folder).
I think you should enhance the file processing program to see if we have two files in the directory or not, it should stop processing if both the files are not available.
and this program can be setup as a batch job in every 5 / 10 mins ..
Thanks