cancel
Showing results for 
Search instead for 
Did you mean: 

Retry Mechanism at Object or Process Level

Vamshi_KrishnaD
Level 5
HI All

Just want to understand, Retry Mechanism should be at object or Process Level.

Regards
Vamshi Krishna Dasa

------------------------------
VamshiKrihsna Dasa
System Architect
Fujitsu India Consulting Pvt. Ltd.
------------------------------
VamshiKrihsna Dasa System Architect Fujitsu India Consulting Pvt. Ltd.
2 REPLIES 2

EmersonF
MVP
So, from what I understand Retry must be done at the process level, I have the following definition, My object is dumb (It just does an action such as clicking the login button), since my process is smart and it must decide that if the action of clicking the login button fails, should I try again or not, if I should fire an email informing me, or if I should finish this item and try another one until my queue is full​​​

------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil

ewilson
Staff
Staff
In general, retries should be handled by the process. Issues encountered by objects should be bubbled up, and the process should decided how to handle them. Here's the excerpt from the Advanced Exception Handling training on Blue Prism Learning Lounge:

"Most exception handling should be done at process (or component) level. Business objects can
contain exception handling but in general they should be kept as simple, reusable pieces of logic."

Cheers,

------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------