I want to check if file with specified name and specified location exists and then perform some actions based on the output.
Location and name is based on the source file name, basically if source path is C:\Folder\Subfolder\File.xlsx then the output is C:\Folder\Subfolder\Output\File - processed.xlsx, output tab, say: summary.
Both folder location and file name may change.
For now I was trying to use the dynamic input tool in a way that it is set to open the output file and tab specified in the field from incoming stream.
It works more or less - if the file opens, then I can see records inside it and make actions based on that, if the file doesn't open (it doesn't exists or doesn't contain specified tab) then I have zero records as an output and also can take some actions.
The problem is that if it is set in that way, whenever the file/tab doesn't exist I have an error message "Cant' find the file..."
I would like to get rid of that message, but the dynamic input tool doesn't allow me to set behavior on errors.
Any Ideas how to solve that?
Or maybe there is a better way of handling that?