cancel
Showing results for 
Search instead for 
Did you mean: 

Log In - Centrix Data Solutions

SamLima
Level 7
why is it not recommended to use retry logic in logging in?

32129.png



------------------------------
Sam Lima
------------------------------
1 BEST ANSWER

Helpful Answers

Hi @SamLima,

You should not use retry logic during a log in attempt because many applications have a strong security protocol in the back end where if you provide multiple invalid credentials then the application can lock that particular user account.

Even when you manually might have tried to do so in applications such as SAP, many times these errors are identified as potential security risks and the rules behind that application will lock that particular user account until any service request might be raised to unlock the same which might require approvals as well.

Also, if you are unable to login due to an expired or invalid password/credential it practically won't make any sense to retry it as no matter how many times you provide the same password again and again. Such exceptions should instead be treated as Business Exception and the business side of your process should be notified about the same on a high priority basis during the first try itself instead of reattempting the logic and accidentally locking out your bot account on that application.​

------------------------------
----------------------------------
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.

View answer in original post

1 REPLY 1

Hi @SamLima,

You should not use retry logic during a log in attempt because many applications have a strong security protocol in the back end where if you provide multiple invalid credentials then the application can lock that particular user account.

Even when you manually might have tried to do so in applications such as SAP, many times these errors are identified as potential security risks and the rules behind that application will lock that particular user account until any service request might be raised to unlock the same which might require approvals as well.

Also, if you are unable to login due to an expired or invalid password/credential it practically won't make any sense to retry it as no matter how many times you provide the same password again and again. Such exceptions should instead be treated as Business Exception and the business side of your process should be notified about the same on a high priority basis during the first try itself instead of reattempting the logic and accidentally locking out your bot account on that application.​

------------------------------
----------------------------------
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.