I have a folder where EDI order message files are created.
Sometimes they are created double, which is not good.
I want to create a test that alerts when a double file is created.
The filenames look like this:
ORDER_<order#>_<datetime>.XML
Example of double file to be detected:
Code: Select all
ORDER_21723_20201113171001.XML
ORDER_21723_20201113182345.XML
^ ^ ^
type order# date+time
Any chance of detecting these without external scripting?

Thanks!