Handling scenarios when database is slow

Some times because of Load or network issues database will work but slowly.How can we handle this through Uipath?
If we give Delay activity before retrieving data from database every time database will not be slow and we are simply waiting for so much time instead of executing query?so any other option to handle this scenario

The timeout for the SQL is 30 seconds - if it fails you can create a retry loop how ever many times.

Do While Result is false Or Counter > MaxRetry
SQL Query
Counter + 1

1 Like