When using a text file adapter that has file patterns that are different, the text file adapter may stop recognizing some files as they are added to the directory, even though they may match the name pattern configured
For example, you have a name pattern configured for the following:
File-*.txt
The adapter is pointed to a directory with the following files
File-ABC0001.txt
File-ABC0002.txt
File-XYZ0001.txt
File-XYZ0002.txt
On the initial run, the adapter finds all four files. The adapter then records that "File-XYZ0002.txt" was the last file it processed.
Later, a new file is added called File-ABC0003.txt, so that now the file listing in that directory is as follows
File-ABC0001.txt
File-ABC0002.txt
File-ABC0003.txt
File-XYZ0001.txt
File-XYZ0002.txt
However, the text file adapter never detects the new file in that directory
Release : 8.35
Component : CA Business Service Insight
Recommendation is to have two adapters, each configured to use more specific name patterns. For the example above, the suggestion would be to have the following name patters: