Execute query taking 5 min to execute value

Hi All,

I am running a Select query in Execute query activity, i am getting the count value but it taking 5 min to display the result, When i run the same query in Database result comes immediately in Uipath it taking time. Any option to reduce the time



What activity are you using to display the result ?

Output table since I need that count value in variable so that I can attach to mail

From output display in message box and converting to int so that I can compare the count value with 0

Can you give the timeout property of 30sec and give a try.

I tried still taking 5min