Wait for download exception

Hi, I’m using the activity “Wait for Download”. If no file is downloaded (ie there are no new transactions so no file is downloaded) the “Wait for Download” sends an error that “No file detected in …” and then stops the execution of the sequence. For my application, if no file is downloaded, I want the sequence to continue execution.

In the “Wait for Download” activity, there is no parameter to Continue on Error and when I use the “Try” activity and the catch as “FileNotFoundException”, the sequence does not continue and throws the same exception.

Any ideas? Thanks.

@Darcy_Gratton

Welcome to forums

Can you share the exception screenshot?

Thanks

Here you go.

2021-03-25

@Darcy_Gratton

Instead of log can you share the Error dialog box screenshot?

Thanks

Hi @Darcy_Gratton

Try to assign system.exception instead of filenot found exception in catch and try again…

Or else use while loop and use path exists to check if the file is present or not

Any suggestion on how to handle exception for Wait for Download Activity.
Suppose my bot waits for file to download till timeout and due to some reason file is not downloaded, I want my bot to come out of Wait for Download and proceed with the next steps.
Any suggestion on the same. Try/Catch is not working.