Measuring Bot Execution Time

How can Bot Runtime value be measured for all bots separately on hourly basis using insight dashboard ( formula) ?

1 Like

Hi There!

You can use the StopWatch library for that.
Here is a thread that could be of help, meanwhile I’ll work on a short sequence for you to work with.

Kind Regards,
Ashwin A.K

Hi

Welcome to uipath forum

Through orchestrator

That’s way more easier when it is for all bots
You can’t measure another machines bot from one server

So to consider all the bots it’s always the orchestrator where we can manage bot runtime at anytime

Have a view on this discussion

Cheers @anmita

1 Like

Hi @anmita
I don’t think there is a direct variable, but we have an alternative to do that.
Use assign variable to capture the starting time and in the end, use another variable to capture the ending time. So, you can get the time bot runs, by substracting ending time and starting time

Thanks Palaniyappan!!!

1 Like

Any further queries on this topic

Ofcourse we have got insights

But for bot runtime it’s better to have orchestrator

Cheers @anmita

Thanks Nikhil !!!

1 Like

Happy Automation @anmita

1 Like

Hi @anmita

Have a look on the thread

HI @anmita

Start_Time= DateTime.Now

End_time= DateTime.Now

TimeSpan Execution_Time= End_time.Subtract(Start_Time)

Regards
Gokul

1 Like

Thanks Gokul for the reference

Can this be done in insight dashboard after using a widget ?

Hii @Palaniyappan
I have used HDiff([Hours in StartTimeLocal],[Hours in EndTimeLocal]) but it does not work is there any other way that I can get Bot Execution time in insight widget formula?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.