I inherited the UI-PATH computer and I’m using it
I don’t know where the past user designated the download folder.
He set up a special download path.
And it’s downloaded on ORACLE (ERP-PROGRAM), so I click the button in the Download-Open/Save-pop-up window of the Internet Explorer window.
Then I have to designate a different path and save it.
I didn’t say it in the text
I have to wait not only for download but also for data loading before downloading.
Data loading is the same as the text, I don’t know how long it will take
I have to wait the same way to load the data.
So, the process after the download or loading operation needs to wait for the operation without errors until the download or loading is complete.
I don’t think Delay Activity can be used because I don’t know when that loading/downloading operation will be finished.
So I think we should use Retry Activity or Try Catch Activity
The person in charge of Ui-path in the past seems to have used that process
I want to use it, but there’s an error, so that’s the problem.
You still dont need wait for download instead use a bigger timeout on the activity which clicks on download or which types into download…so if not found will wait till timeout else will click immediately if found
So what you’re saying is we need to increase the time of activity timeout?
It’s a relief if the problem is resolved with that setting
All I know is the time limit of the activity’s attributes
It’s shortening activity time
I don’t know how to increase the time of the timeout.
I would appreciate it if you could tell me how to set it up.
First of all, the problem now is that the download/loading time is longer than the time the activity fails.
Download/loading takes longer with more data
I don’t know how much it will be, but it’s always a lot.
You can follow these step to achieve dynamic delay…
→ Indicate a element in Element Exists activity that appears after file is loaded or downloaded properly like you mentioned the pop-up that appears.
→ A boolean Output of Element Exists activity: bool_DowloadComplete
→ Suppose Variable will be True so it will not go to while as condition is Not bool_DowloadComplete means False, if variable will be false it means file is not downloaded yet, so it will goto while loop and once again checks whether the element appeared or not, activity has Timeout property as 10000 means it will check the element for 10 secs, if element still not appears then again the same… till 20 times as we have given Maxiteration property of While Loop as 20 means approx 3 mins (You can change these values accordingly…)
Hope you got the idea!
Just try it once! (Dynamic Delay)
If your query is resolved just mark the post as solution!
It will help others to find the correct solution.
The simplest approach is to use what you already have, but leave the condition blank.
So only a retry scope with the click activity inside.
Optionally, you can also add a “Log Message” activity in the retry scope so you can check back later on the log to see how long it takes to finally complete.
Then you can play around with the retry scope interval and number of retry times to find the best combination. Personally I prefer 5s interval with as many retry times I need (eg. 10).
If you take this approach, I also recommend setting the timeout of the click to something like 5000 milliseconds (by default its 30s or 30000 milliseconds).
This way:
the click fails quickly, triggering the retry scope
the retry scope checks its interval and retry until either:
– click is successful, or
– retry number is reached