Hi,
I have a requirement to receive file over SFTP, which I am able to achieve if I give the correct filename with extension.
But, there is a condition to be checked, where if I don't find a file with the given name, I need to notify the user about it through an email. This I am not able to achieve as the smart node is breaking with below error.
____________________________________________________________
Problem: An error occurred in executing an Activity Class.
Details: Error copying the remote file to disk. See application server log for more details. Error Message: No such file
Recommended Action: Examine the activity class to correct the error and then resume.
Priority of this problem: High Priority
Could some one suggest on how to handle this is appreciated.
Thanks in advance!
J. Neelima
Discussion posts and replies are publicly visible
See https://community.appian.com/discussions/f/process/11643/how-to-handle-the-exception-of-a-node-in-process-and-define-a-different-flow-if-exception-occurs
If there aren't a lot of files in the SFTP directory, you could consider first using the "Get Directory Contents over SFTP" service and checking to see if the target file exists in that list. If it does, go ahead and pull the file. If it doesn't exist, email your user. I wouldn't suggest doing this is the directory has many documents.
Can someone please suggest here how to accept files only with particular extensions. eg. A rule to process only *.TIF files.