Random lags in UIpath

Hello There!
I am stumped about problem i have in my UIPath project
I have a state machine with different states and while executing i have some random “floating” delays in different places
By saying “floating” i mean it can be 0 seconds delay in this place, but it can be also 2 minutes
I’ve noticed that one of my delays appears in a place between the “Entry” and “Exit” state parts.
I know that between those parts exists the code, which decides what state will be next, but in this code i have only basic actions with boolean variables (“AND”, “NOT”) so i can’t believe the problem is there
Thanks for help!

@Danil_Bialyk

Welcome to forums

Try your flow by adding multiple log messages

and run, check the time taking to print the log messages, by this way you can track which steps are taking time, so accordingly you can optimize those steps

Hope this helps you

Thanks

Hello!
The delays are between two log messages
First log message is on the end of “Entry”
And the second is on the start of “Exit”

@Danil_Bialyk

It would good, if you can share your flow, so that it will help in identifying issue

OR Create a new flow and use the same activities and check if it is taking time

Hope this helps you

Thanks