Problem with "Wait for download" Activity

Hey,

I have been having an issue with the Wait For Download Activity. The core issue is that it keeps picking up tmp file when I initiate the download (not the intended pdf). I try to get around this with a do while loop, but if the download finished before the reloop then it errors out (I have a work around). Is it possible for your dev team to expand the activity to include an option that in the case of a timeout it will pull the newest item in the folder?

Second problem is less of a bug, and more of a consistency issue. Most activities measure timeouts in milliseconds, but this activity measures in seconds. This was not very clear.

For reference out of 9 times, 4 times it picked up the tmp file. File sizes ranged from 48 kb to 128 kb.

My Dependencies:
UiPath.System.Activities = 20.10.1
UiPath.UiAutomation.Activies = 20.10.6

@jamills what download client are you using? Is it any exotic browser?

We have an item on the roadmap where you can explicitly specify the extension of the temp files to ignore. It will probably be out in 21.10.

With regard to the timeout property, this activity was originally developed for StudioX, and most StudioX users tend to think in “seconds” rather than “miliseconds”. I admit the inconsistency and we will look into resolving it somehow in the future. In the meantime, we will improve the Timeout property description to better explain what values it should hold.

Thanks for the reply. I am using chrome

Seems like Chrome has done something new that interfaces with our detection algorithm.

@jamills How to do Exception Handling around Wait for Activity ?
If my file is not downloaded, I want my flow to continue instead of erroring out.