Question on text file trigger

One of our processes generates two files, say client-data.txt and client-data.control.txt. We want to start loading the data file only after we received the control file. We want to trigger the process on the control file but load the data file since control file does not have any data in it. How do we achieve this? The filenames are not fixed, we will need to extract the filename from control file itself.


Post is closed for comments.