I use the ‘Delete File’ function in an automation step. The trouble is, if a file is not found, I get a logging stating:
A failure in this .tas run!
Automation script “TestDelete_Daily” had errors while executing. The exception messages are listed below and the log file is attached. Change to verbose logging and rerun script for more details.
Delete_1 - Collection was modified; enumeration operation may not execute.
**That is pretty mysterious lingo, and makes it hard to diagnose. The log file states the same message. **
Can this be improved?
I think a better message might be ‘File not found: examplefilenamexx.ext’.
Test .tas attached.
TestDelete_Daily.tas (7.91 KB)