cancel
Showing results for 
Search instead for 
Did you mean: 

Log-in retry logic

SamLima
Level 7
were mentioned in best practice that we don't retry Log-in action if there were any error occurred, the template does not even write an expression to retry only system exception, Could anyone explain why this has been done in BP Travel solution?
32780.png



------------------------------
Sam Lima
------------------------------
2 REPLIES 2

SamLima
Level 7

Could you please help me with this?

@devneetmohanty07



------------------------------
Sam Lima
------------------------------

Hi Sam,

Ideally speaking the login logic should not be retried but if in case you are retrying it make sure that you do not retry it for those many times which can risk you account to get locked.

For example, in many web applications if let say you forgot your password or if you mistyped the password you still can attempt for 2 times but if for the third time you also do the same, your account might get locked out. It happens a lot while we do Net Banking doesn't it ! Even for a bot if the response time for a web application is too slow or too fast, it might enter the password incorrectly at times, hence retrying can be considered if not totally eliminated but then again in must be done in a controlled manner and with respect to keeping the application interface in mind.

So similarly in your automation as well, the retry attempts can be there but it should not be retrying for that many times that can risk your account getting locked. We usually retry only for 2 times in case of login retries whereas for other retries we keep the attempt count to 3.

Again, these attempt counts are decided based upon the organisation standards and the application infrastructure as well so there is no definite answer like for every case how many times you should ideally be retrying or not.

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.